[Webkit-unassigned] [Bug 50439] New: [chromium] PNG encoder leaks memory on png_write_row errors.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 2 23:01:06 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=50439

           Summary: [chromium] PNG encoder leaks memory on png_write_row
                    errors.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: noel.gordon at gmail.com
                CC: mdelaney at apple.com


Once the encoder setjmp() is called during initialization, any C++ objects created after that point won't have their destructors called on error due to the way setjmp() unwinds the stack.  So in the error case, the OwnArrayPtr |rowPixels| leaks its memory.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list