shithub: dumb

Download patch

ref: d2d6f48b2bdecc96a60c7e7dfab2b83bf72dc143
parent: 9b377f8d7f76159d7f227c727aeae7e16fd1db7b
author: Chris Moeller <[email protected]>
date: Sun Jun 16 05:55:19 EDT 2013

Fixed another stupid error

--- a/dumb/src/it/readam.c
+++ b/dumb/src/it/readam.c
@@ -307,7 +307,7 @@
 
 		case DUMB_ID( 'I', 'N', 'S', 'T' ):
 			{
-				if ( c->size < 0xE1 ) goto error;
+				if ( c->size < 0xE1 ) goto error_sd;
                 if ( dumbfile_seek( f, c->offset + 1, DFS_SEEK_SET ) ) goto error_sd;
                 o = dumbfile_getc( f );
                 if ( o >= sigdata->n_samples ) sigdata->n_samples = o + 1;