commit | 8132626b71b319c71c7c4710f0c57c417badf8c0 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Thu Mar 04 11:51:42 2010 -0800 |
committer | David 'Digit' Turner <digit@google.com> | Tue Mar 09 15:27:50 2010 -0800 |
tree | 7059fd80bf872989900e78aff21f6671d1463812 | |
parent | 92e712f60dae8f099004c439291362efd02f6889 [diff] |
Fix strtod security bug. To avoid introducing NULL checks everytime a Bigint computation is performed, introduce a special value (BIGINT_INVALID) and only check for it when absolutely needed (which means when the code needs to access the Bigint's internal structure fields). Change-Id: Ie3954523b0985b6a8cb62340802d8dcf63cbf16f