Commit ID f736cd144305f7c9147912f6ec081962b3191e3d
|
Contributor: | Jeff Mahoney | Files Modified: | 1 |
| Date: | 23-April-2012 at 21:04 | Lines Added: | 1 | |
| Repository: | git://git.cairographics.org/git/cairo master | Lines Removed: | 1 | |
| Commit Comment: | pdf: Fix wrong allocation in _cairo_pdf_surface_add_source_surface _cairo_pdf_surface_add_source_surface allocates unique_id with size unique_id_length but then copies surface_key.unique_id_length into it. This causes e.g. evince to crash predictably while trying to print with: *** buffer overflow detected ***: evince terminated We should be using surface_key.unique_id_length instead. Reported-by: Dominique Leuenberger <dominique-fre...@leuenberger.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49089 Signed-off-by: Jeff Mahoney <jef...@suse.com> |
|||
| Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| C | 1 | 1 | 0 | 0 | 0 | 0 | |
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.