[PATCH] bsefextract: don't segfault if input file is empty



Here is a fix for:

During testing I created an empty WAV file. Nothing worth listening to, but
sweep loads it ok while bsefextract segfaults:
...

Stefan Westerfeld (1):
  TOOLS: bsefextract: don't segfault if input file is empty

 tools/bsefextract.cc | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

-- 
2.7.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]