Fixed buffer overread in flashsv decoder.