summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-11-13 00:53:07 +0000
committerschwarze <schwarze@openbsd.org>2011-11-13 00:53:07 +0000
commitb1d454ab33b086f9fcffab238a94d5d7b0cfa2a7 (patch)
tree40559b756ba7fe436a325af62b1b6856898268d4 /lib/libpthread
parentmark some arguments "const" that will not be changed; from kristaps@ (diff)
downloadwireguard-openbsd-b1d454ab33b086f9fcffab238a94d5d7b0cfa2a7.tar.xz
wireguard-openbsd-b1d454ab33b086f9fcffab238a94d5d7b0cfa2a7.zip
Fix two crashes that occur when walking very large (i.e. real-world) trees:
1) Avoid excessive, needless recursion lest you overflow the stack; 2) Close dir file descriptors, lest you run out of descriptors. ok kristaps@
Diffstat (limited to 'lib/libpthread')
0 files changed, 0 insertions, 0 deletions