Summary: |
filenameW in glib/poppler-document.cc allocated with operator new[], freed with operator delete |
Product: |
poppler
|
Reporter: |
Jason <jasongross9+bugzilla> |
Component: |
glib frontend | Assignee: |
poppler-bugs <poppler-bugs> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
|
Severity: |
minor
|
|
|
Priority: |
medium
|
CC: |
jasongross9+bugzilla
|
Version: |
unspecified | |
|
Hardware: |
x86-64 (AMD64) | |
|
OS: |
Windows (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Patch
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 59661 [details] Patch In glib/poppler-document.cc, filenameW is allocated with new WCHAR[length] on line 188, but freed with delete filenameW, on line 195. Dr. Memory flagged this as an "invalid heap argument". I've attached the trivial patch for this.