[Gtkradiant] [Bug 649] Scriplib causing memory corruption on C-style comment
Fri, 25 Oct 2002 22:50:53 -0500
------- Additional Comments From firstname.lastname@example.org 2002-10-25 22:50 -------
On a second pass, the only thing special about the shader was its size (< 544
bytes). A brush_t with 4 sides is 544 bytes, and malloc was doling out double-
freed memory to AllocBrush() for terrain maps, which contain plenty of 4-sided
brushes once _blocksize chopping happens.
Scriplib is double-freeing the file buffer. Not sure how old this bug is,