[Gtkradiant] [Bug 649] Scriplib causing memory corruption on C-style comment

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Fri, 25 Oct 2002 23:06:02 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=649

ydnar@shaderlab.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ydnar@shaderlab.com  2002-10-25 23:06 -------
3rd pass. This bug is half scriplib and half my fault. Scriplib isn't bothering 
to check if there's even valid data to parse, and my code wasn't listening to 
it when it said there wasn't any left to parse. :)

Added sanity check to scriplib's GetToken() function to return qfalse if script 
or buffer are NULL.