Fix security issue CVE-2015-1860

[taken from RedHat Qt3 patches]
(cherry picked from commit 094708c0e7)
r14.0.x
Slávek Banko 10 years ago
parent 2dbd340ba2
commit d07bc24c91

@ -1226,6 +1226,8 @@ void TQGIFFormat::fillRect(TQImage& img, int col, int row, int w, int h, TQRgb c
void TQGIFFormat::nextY(TQImage& img, TQImageConsumer* consumer) void TQGIFFormat::nextY(TQImage& img, TQImageConsumer* consumer)
{ {
if (out_of_bounds)
return;
int my; int my;
switch (interlace) { switch (interlace) {
case 0: case 0:

Loading…
Cancel
Save