Bug 107617

Summary: [Patch] Fix various memory issues in GfxImageColorMap copy ctor
Product: poppler Reporter: Volker Krause <vkrause>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: [Patch] Fix memory issues in GfxImageColorMap copy ctor

Description Volker Krause 2018-08-19 07:49:00 UTC
Created attachment 141194 [details] [review]
[Patch] Fix memory issues in GfxImageColorMap copy ctor

- byte_lookup and lookup2 could contain uninitialized memory
- lookup2 was not copied at all
- lookup could be copied with the wrong size
Comment 1 Albert Astals Cid 2018-08-20 21:33:43 UTC
Do you need to use this function?

Otherwise i'd suggest we just remove it, since at least noone in poppler is using it, and it was totally broken so i guess noone else was using it?
Comment 2 GitLab Migration User 2018-08-20 21:59:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/145.

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.