koolhazz / stringencoders

Automatically exported from code.google.com/p/stringencoders
Other
0 stars 0 forks source link

No tests for Inf/Nan in modp_dtoa, modp_dtoa2 #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There are no tests for Inf or Nan values in modp_dtoa/2.

tests need to be added, and code changed appropriately.

Original issue reported on code.google.com by nickgsup...@gmail.com on 19 Mar 2010 at 2:06

GoogleCodeExporter commented 9 years ago
Inf was handled correctly.

Nan was not, and appears to be a buffer overflow.

fixed in revision 225

Original comment by nickgsup...@gmail.com on 19 Mar 2010 at 3:11