| Summary: | Fix potential pixel buffer leak in ImageRotationSessionVT::rotate | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | youenn fablet <youennf> | ||||||
| Component: | WebRTC | Assignee: | youenn fablet <youennf> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | darin, eric.carlson, jer.noble, webkit-bug-importer, youennf | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Local Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
youenn fablet
2020-07-03 04:54:29 PDT
Created attachment 403452 [details]
Patch
Looking at other WebKit code, I am wondering whether we should not add both kCVPixelBufferIOSurfacePropertiesKey and kCVPixelFormatOpenGLESCompatibility/kCVPixelBufferOpenGLCompatibilityKey like done in ImageTransferSession. Created attachment 403459 [details]
Patch
Committed r264034: <https://trac.webkit.org/changeset/264034> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403459 [details]. Comment on attachment 403459 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403459&action=review > Source/WebCore/platform/graphics/cv/ImageRotationSessionVT.mm:118 > + result = adoptCF(rawRotatedBuffer); I would use auto here rather than defining result above. |