[Poppler-bugs] [Bug 19305] New: [PATCH] delete of NULL pointer on Win32
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Dec 28 07:39:41 PST 2008
http://bugs.freedesktop.org/show_bug.cgi?id=19305
Summary: [PATCH] delete of NULL pointer on Win32
Product: poppler
Version: unspecified
Platform: All
OS/Version: Windows (All)
Status: NEW
Keywords: security
Severity: normal
Priority: high
Component: general
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: ashkulz at rediffmail.com
Created an attachment (id=21517)
--> (http://bugs.freedesktop.org/attachment.cgi?id=21517)
patch
In poppler/GlobalParams.cc, winFontList is set to NULL in the constructor
within a #ifdef WIN32. It is not changed anywhere (that code was removed in
9ced4442372d08375e0ded62f79052d8a3ec9cd6) and then an attempt is made to delete
it in the destructor, which is a delete of NULL pointer (which could be a
possible crash/security issue).
The attached patch fixes this issue and removes the WinFontList and WinFontInfo
classes which aren't used anywhere in the code.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list