# HG changeset patch # User jbr # Date 1236220577 0 # Node ID 063854fdfe73be0e69b19d1366aec2f6b80015b7 # Parent f32faa6e149bd223f750b61ab5e40f7ffbb96ab0 flacdec: There is an even smaller FLAC frame size possibility. diff -r f32faa6e149b -r 063854fdfe73 flacdec.c --- a/flacdec.c Thu Mar 05 02:21:35 2009 +0000 +++ b/flacdec.c Thu Mar 05 02:36:17 2009 +0000 @@ -651,7 +651,7 @@ /* check that there is at least the smallest decodable amount of data. this amount corresponds to the smallest valid FLAC frame possible. */ - if (buf_size < 16) + if (buf_size < 11) goto end; /* check for inline header */