Open pr8x opened 1 year ago
mscfatfile.read returns -1 in case of an error. However MSCFile::read is returning size_t (aka unsigned int), which will underflow in case of an error.
mscfatfile.read
MSCFile::read
size_t
unsigned int
mscfatfile.read
returns -1 in case of an error. HoweverMSCFile::read
is returningsize_t
(akaunsigned int
), which will underflow in case of an error.