Bug 107316

Summary: Fix possible uninitialized variable & dangling reference in HtmlFont
Product: poppler Reporter: ulatekh <ulatekh>
Component: utilsAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch to fix bug

Description ulatekh 2018-07-21 03:44:21 UTC
Created attachment 140748 [details] [review]
Patch to fix bug

I'm about to use pdftohtml to extract information from PDFs and organize the results into a database, so I had a chance to dig through the code.

I happened to notice a possible uninitialized variable, and possible dangling reference, in HtmlFont. The patch fixes that.
Comment 1 Albert Astals Cid 2018-07-22 15:52:11 UTC
Patch looks good.

Can I have your full name for proper copyright attribution?
Comment 2 ulatekh 2018-07-25 01:46:24 UTC
My name is Steven Boswell, but I freely assign copyright to the project, under whatever license it's presently using.
Comment 3 ulatekh 2018-08-04 18:51:31 UTC
Is there anything else you need from me in order to move this patch forward?
Comment 4 Albert Astals Cid 2018-08-09 14:16:52 UTC
Pushed

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.