diff options
author | Damien Zammit <damien@zamaudio.com> | 2021-01-16 15:35:28 +1100 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2021-01-16 15:41:00 +1100 |
commit | 232ba2575316a132a3fa977aa096904afe8e979d (patch) | |
tree | f1c74d7d9176bf64c4c3877b94f1c2ea407971df /bins | |
parent | 26d30c29321100fd4789cce7956b966770f98817 (diff) |
v10+: Fix segfault when wav list cannot be read due to .size() always 4
std::string() was initialised with a fixed size of 4,
so checking for .size() == 0 will always fail.
This fixes the _audiofiles vector from being iterated over when empty,
and returns a PARSE FAIL when there are known to be wavs present but
none were found.
Diffstat (limited to 'bins')
0 files changed, 0 insertions, 0 deletions