# HG changeset patch # User ranma # Date 1118974954 0 # Node ID 2beb7a7cdac173d38b9f77eaff61581fe23773e7 # Parent e28cba8204c90570083520d69ce2c9ce636c7d47 Add missing range checks so we won't overflow the buffers, thanks to Erik Auerswald for noticing this problem diff -r e28cba8204c9 -r 2beb7a7cdac1 libao2/ao_nas.c --- a/libao2/ao_nas.c Thu Jun 16 21:17:26 2005 +0000 +++ b/libao2/ao_nas.c Fri Jun 17 02:22:34 2005 +0000 @@ -31,6 +31,7 @@ #include #include #include +#include #include