mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
78a0075be1
This one is ancient: the code was essentially unmodified since release (just some formatting). Malformed vectors could sneak through due to map bugs (eg, "angles -90" instead of "angle -90" as in ad_tears) and the vector parsing code would continue past the end of the string and writing into unowned memory, potentially messing up the libc allocation records. Replacing with the obvious sscanf works nicely. Sometimes, Quake code is brilliant. Other times, it's a real face-palm. |
||
---|---|---|
.. | ||
test | ||
convert.py | ||
hops.py | ||
Makemodule.am | ||
opcodes.py | ||
pr_builtins.c | ||
pr_debug.c | ||
pr_edict.c | ||
pr_exec.c | ||
pr_load.c | ||
pr_opcode.c | ||
pr_parse.c | ||
pr_resolve.c | ||
pr_resource.c | ||
pr_strings.c | ||
pr_v6p_opcode.c | ||
pr_zone.c | ||
swizzle.py |