Skip to content
Commit dec9ca22 authored by Dhiru Kholia's avatar Dhiru Kholia Committed by Bastien Nocera
Browse files

ico: Fix potential integer overflow

Which relies on undefined behaviour. Instead of checking for an
overflowed integer after the fact, check whether the addition would
be possible at all.

Fixes: CVE-2017-6312

https://bugzilla.gnome.org/show_bug.cgi?id=779012
parent ce52cefb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment