CVSROOT: /cvs Module name: src Changes by: ratc...@cvs.openbsd.org 2016/09/27 01:02:28
Modified files: usr.bin/aucat : aucat.c Log message: Don't rely on the resampling code to calculate the number of samples to process, as it may produce one extra sample (to handle accumulation of fractional samples), which would cause access to one sample past the end of the buffer and crash aucat. Fix this by limiting the number of samples processed to a single block. Found by and help from Michael W. Bombardieri <mb at ii.net>. Thanks.