Merge branch 'fix-pixbuf-out-of-bounds' into 'gtk-2-24'
Resolve GIMP segfault from accessing memory past end of pixbuf See merge request GNOME/gtk!1813
This commit is contained in:
commit
fc1bd0cf2c
1 changed files with 1 additions and 1 deletions
|
|
@ -603,7 +603,7 @@ compute_hint (GdkPixbuf *pixbuf,
|
|||
if (r != *(p++) ||
|
||||
g != *(p++) ||
|
||||
b != *(p++) ||
|
||||
(n_channels != 4 && a != *(p++)))
|
||||
(n_channels == 4 && a != *(p++)))
|
||||
{
|
||||
hints &= ~THEME_CONSTANT_ROWS;
|
||||
if (!(hints & THEME_MISSING))
|
||||
|
|
|
|||
Loading…
Reference in a new issue