RGB: fix Use-of-uninitialized-value

This commit is contained in:
Mirco Miranda
2025-11-19 11:05:36 +00:00
committed by Albert Astals Cid
parent 7202e77c74
commit a8ad7be1cd
+3
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) {