]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib: do not use potentially large stack allocations
authorMarek Vavruša <marek.vavrusa@nic.cz>
Tue, 8 Dec 2015 18:40:18 +0000 (19:40 +0100)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Tue, 8 Dec 2015 23:27:10 +0000 (00:27 +0100)
commite9a1a1516d75eb545564d33b5d33d79c7a5d3049
treee201983b54b474648493164d1d4e737a08593602
parentd6b9ae6c46e16e5f9f3bd90f6fb95e5c2d0bb343
lib: do not use potentially large stack allocations

rdata may be <=64k + 8B on stack which may be source of various mystery
errors later, for example in bindings or stackspace-constricted env
lib/resolve.c
lib/utils.c
lib/utils.h
lib/zonecut.c
modules/hints/hints.c