Bug 107316 - Fix possible uninitialized variable & dangling reference in HtmlFont
Summary: Fix possible uninitialized variable & dangling reference in HtmlFont
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-21 03:44 UTC by ulatekh
Modified: 2018-08-09 14:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to fix bug (1.12 KB, patch)
2018-07-21 03:44 UTC, ulatekh
Details | Splinter Review

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.