ZDoom / ZMusic

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

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

Closed jerome-trc closed 3 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 3 months ago

This was already fixed a few months ago.