At Tue, 02 Jul 2002 10:52:03 +0200,
Clemens Ladisch wrote:
> 
> When parse_value finds something looking like a number, it first calls
> safe_strtoll to test whether the value's type is integer.
> Unfortunately, safe_strtoll simply grabs anything which may be an
> integer, and doesn't check for any following characters (e.g. the
> decimal point of a floating point number).
> 
> This means that all floating point numbers are parsed as integers.
> 
> The patch adds a check for the end of the string, similar to
> safe_strtol and safe_strtod.

thanks, applied to cvs.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to