]> git.xonotic.org Git - xonotic/netradiant.git/commit
autoexpand: add an alternative way to autoexpand while zeroing the allocated memory
authorThomas Debesse <dev@illwieckz.net>
Tue, 14 Jan 2020 08:42:37 +0000 (09:42 +0100)
committerThomas Debesse <dev@illwieckz.net>
Thu, 23 Jan 2020 18:21:39 +0000 (19:21 +0100)
commit70a4ae59555b0670ff8c0f2f26fe93164559c40c
treea400c5bdb0385dc2586001b5ca1a928eecbdb873
parent58894ce5c53871fbca2f57e2d2345ca8bdc8890d
autoexpand: add an alternative way to autoexpand while zeroing the allocated memory

use it to allocate shader lump, without that, garbage from uninitialized memory may be written
after the ending \0 of strings
tools/quake3/q3map2/q3map2.h
tools/quake3/q3map2/writebsp.c