mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
e3f4117535
In parseStream, atom.size is initailized to uint32 max. If the loop in readDefault then never executes because the stream has hit EOF, that size is passed as-is to seek. This can cause a crash eg in SeekableSubReadStream because of an int overflow. Change readDefault to return an error in a few places if we have hit eof before a valid atom has been read. It's ok not to do the seek in this case. |
||
---|---|---|
.. | ||
cue.cpp | ||
cue.h | ||
formatinfo.cpp | ||
formatinfo.h | ||
iff_container.cpp | ||
iff_container.h | ||
ini-file.cpp | ||
ini-file.h | ||
json.cpp | ||
json.h | ||
markdown.cpp | ||
markdown.h | ||
module.mk | ||
prodos.cpp | ||
prodos.h | ||
quicktime.cpp | ||
quicktime.h | ||
winexe_ne.cpp | ||
winexe_ne.h | ||
winexe_pe.cpp | ||
winexe_pe.h | ||
winexe.cpp | ||
winexe.h | ||
xmlparser.cpp | ||
xmlparser.h |