diff options
author | 2011-11-13 00:53:07 +0000 | |
---|---|---|
committer | 2011-11-13 00:53:07 +0000 | |
commit | b1d454ab33b086f9fcffab238a94d5d7b0cfa2a7 (patch) | |
tree | 40559b756ba7fe436a325af62b1b6856898268d4 /lib/libpthread | |
parent | mark some arguments "const" that will not be changed; from kristaps@ (diff) | |
download | wireguard-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