Skip to content
Commit 23e2a7c4 authored by Tobias Mueller's avatar Tobias Mueller Committed by Bastien Nocera
Browse files

gif: Prevent access to negative array indexes

It seems that a pathological gif file can cause a negative array index
to be read.  UBSAN reported this:
io-gif.c:509:44: runtime error: index -2 out of bounds for type 'guchar [280]'
io-gif.c:510:44: runtime error: index -1 out of bounds for type 'guchar [280]'

https://bugzilla.gnome.org/show_bug.cgi?id=778584
parent a6303ad7
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