do not BSD in some test apps I have. it did not check if input buffer for the convert string was NULL or not.

svn path=/trunk/; revision=20330
This commit is contained in:
Magnus Olsen 2005-12-25 18:53:39 +00:00
parent 559ea9a183
commit 80cc55de74

View file

@ -21,6 +21,10 @@ strtod(const char *s, char **sret)
sign = 1;
e = 0;
esign = 1;
if (s == NULL)
return r;
while ((*s == ' ') || (*s == '\t'))
s++;