mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:16:07 +00:00
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:
parent
559ea9a183
commit
80cc55de74
1 changed files with 4 additions and 0 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue