godot/modules/vorbis
Michael Wörner 7ca66462ac
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.

(cherry picked from commit a4db4ae658)
2024-02-27 15:45:39 +01:00
..
doc_classes Link to runtime loading/saving tutorial and improve Image documentation 2023-11-14 12:05:54 +01:00
SCsub
audio_stream_ogg_vorbis.cpp Fix OGG Vorbis infinite error spam with corrupt file. 2023-11-10 15:48:28 +00:00
audio_stream_ogg_vorbis.h
config.py
register_types.cpp Correctly register editor-only module classes with the API 2024-01-25 18:08:46 +01:00
register_types.h
resource_importer_ogg_vorbis.cpp Fixed an issue that could cause a crash when encountering a zero-length packet in an OGG stream. 2024-02-27 15:45:39 +01:00
resource_importer_ogg_vorbis.h