Summary: | Failure to process stream due to 'Length' absence | ||
---|---|---|---|
Product: | poppler | Reporter: | Ilya Gorenbein <igorenbein> |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Patch
test file Updated patch |
Description
Ilya Gorenbein
2009-12-22 02:43:43 UTC
Created attachment 32242 [details] [review] Patch Created attachment 32243 [details]
test file
That's a bit invasive, i'll have to run my test regression suite to see if it regresses somewhere, but that'll have to wait a few days. On a second look this seems quite dangerous as there is no guarantee length will ever be assigned later on, maybe adding a length = 0; in place of the return NULL;? You are definitely correct, I will update the patch. Created attachment 32312 [details] [review] Updated patch The 'length' was initialized to 0. I've commited the patch to git master branch |
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.