summaryrefslogtreecommitdiff
path: root/platform/win32/mupdf.sln
diff options
context:
space:
mode:
authorSimon Bünzli <zeniko@gmail.com>2014-01-16 22:04:51 +0100
committerSimon Bünzli <zeniko@gmail.com>2014-01-16 22:09:13 +0100
commit60dabde18d7fe12b19da8b509bdfee9cc886aafc (patch)
treeda0f1f2ace0fdd9c153e12dcf20075e2674117fa /platform/win32/mupdf.sln
parent5106b010ec248bf254effcb3445a16dc7c4b015b (diff)
downloadmupdf-60dabde18d7fe12b19da8b509bdfee9cc886aafc.tar.xz
Bug 694957: fix stack buffer overflow in xps_parse_color
xps_parse_color happily reads more than FZ_MAX_COLORS values out of a ContextColor array which overflows the passed in samples array. Limiting the number of allowed samples to FZ_MAX_COLORS and make sure to use that constant for all callers fixes the problem. Thanks to Jean-Jamil Khalifé for reporting and investigating the issue and providing a sample exploit file.
Diffstat (limited to 'platform/win32/mupdf.sln')
0 files changed, 0 insertions, 0 deletions