do not BSD in some test apps I have. it did not check if input buffer for the convert...
authorMagnus Olsen <magnus@greatlord.com>
Sun, 25 Dec 2005 18:53:39 +0000 (18:53 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Sun, 25 Dec 2005 18:53:39 +0000 (18:53 +0000)
svn path=/trunk/; revision=20330

reactos/lib/crt/stdlib/strtod.c

index 0dea5ff..3d40f56 100644 (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++;