summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/os_linuxbsd.cpp
diff options
context:
space:
mode:
authorMichael Wörner <michael.woerner@blickshift.de>2024-01-16 11:31:51 +0100
committerMichael Wörner <michael.woerner@blickshift.de>2024-01-16 23:42:25 +0100
commita4db4ae6581a6e4f051d8aea2c562c1165d22590 (patch)
tree152fa7b3ac3a1cc642451fbe61234c82002e8f93 /platform/linuxbsd/os_linuxbsd.cpp
parent6bb89c71ff65ee117a7dce4576026d716ee390e5 (diff)
downloadredot-engine-a4db4ae6581a6e4f051d8aea2c562c1165d22590.tar.gz
Fixed an issue that could cause a crash when encountering a zero-length packet in an OGG stream.
A zero-length memcpy into a null pointer itself does not fail, but for gcc with optimizations, this can cause incorrect code to be generated further down the line since the pointer is then assumed to be non-null. Now stripping zero-length packets and pages without packets from the OggPacketSequence during import. This prevents various warning and error messages for files that end on a zero-length packet.
Diffstat (limited to 'platform/linuxbsd/os_linuxbsd.cpp')
0 files changed, 0 insertions, 0 deletions