ZDoom / ZMusic

GZDoom's music system as a standalone library
https://forum.zdoom.org/index.php
63 stars 33 forks source link

`VectorReader::VectorReader(const uint8_t* data, size_t size)` doesn't fully initialize #42

Closed jerome-trc closed 7 months ago

jerome-trc commented 1 year ago

On the master revision at time of writing (1dda85b) mLength and mPos are left unspecified by this constructor overload, causing ZMusic_OpenSongMem to either error or segfault, regardless of input.

coelckers commented 7 months ago

This was already fixed a few months ago.