RGB: fix Use-of-uninitialized-value

This commit is contained in:
Mirco Miranda
2025-11-18 11:18:15 +01:00
committed by Albert Astals Cid
parent 7202e77c74
commit a8ad7be1cd

View File

@ -338,6 +338,9 @@ bool SGIImagePrivate::readImage(QImage &img)
return false;
}
}
for (; l < _numrows; l++) {
_lengthtab[l] = 0;
}
}
if (_stream.status() != QDataStream::Ok) {