[Poppler-bugs] [Bug 9418] New: Missing delete after reading a bad thumb colormap

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Thu Dec 21 12:38:37 PST 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=9418          
     
           Summary: Missing delete after reading a bad thumb colormap
           Product: poppler
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: scotty1024 at mac.com


--- poppler-0.5.4/poppler/Page.cc       2006-04-11 18:58:54.000000000 -0700
+++ poppler/poppler/Page.cc     2006-12-21 12:29:49.000000000 -0800
@@ -484,6 +481,7 @@
   obj1.free();
   if (!colorMap->isOk()) {
     fprintf (stderr, "Error: invalid colormap\n");
+    delete colorMap;
     goto fail1;
   }          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Poppler-bugs mailing list