Hi Kjetil, On Sun 02 Aug 2009 15:26, "Kjetil S. Matheussen" <[email protected]> writes:
> The following bug causes some problems > with Snd: (At least the realtime extension of Snd) > > > ***************************** > $ echo "'(4194304 262144 1.0f)" >test.scm > $ guile -l test.scm Fixed in 1.9, and backported to 1.8. Thanks for the report! commit ee0ddd21211757664092eaec631c4c76f4aae74f Author: Andy Wingo <[email protected]> Date: Tue Aug 4 20:29:09 2009 +0200 fix buffer overrun reading partial numbers: 1.0f, 1.0/, and 1.0+ * libguile/numbers.c (mem2decimal_from_point, mem2ureal, mem2complex): Fix a number of cases where, for invalid numbers, we could read past the end of the buffer. This happened in e.g. "1.0+", "1/" and "1.0f". But I couldn't figure out how to test for these, given that the behavior depended on the contents of uninitialized memory in the reader buffer. We'll just have to be happy with this. Thanks to Kjetil S. Matheussen for the report. Andy -- http://wingolog.org/
