Fixed infinite loops and buffer overflow in byte_scan when scanning for integers and floating-point numbers. - The byte_scan and associated functions are not very well written. I tried to clean them as much as possible without re-writing the whole thing. - Replaced lBuildFloatValue function with atof. lBuildFloatValue was returning incorrect value anyway. The only reason it was working so far because we never used that value. BUG=59623(crbug.com), 603333(bugzilla.mozilla.org) Review URL: http://codereview.appspot.com/2655042 git-svn-id: https://angleproject.googlecode.com/svn/trunk@469 736b8ea6-26fd-11df-bfd4-992fa37f6226
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| atom.c | Loading commit data... | |
| atom.h | Loading commit data... | |
| compile.h | Loading commit data... | |
| cpp.c | Loading commit data... | |
| cpp.h | Loading commit data... | |
| cppstruct.c | Loading commit data... | |
| memory.c | Loading commit data... | |
| memory.h | Loading commit data... | |
| parser.h | Loading commit data... | |
| preprocess.h | Loading commit data... | |
| scanner.c | Loading commit data... | |
| scanner.h | Loading commit data... | |
| slglobals.h | Loading commit data... | |
| symbols.c | Loading commit data... | |
| symbols.h | Loading commit data... | |
| tokens.c | Loading commit data... | |
| tokens.h | Loading commit data... |