summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-11-09 04:20:46 +0000
committertb <tb@openbsd.org>2020-11-09 04:20:46 +0000
commitdbebd7531b6262351d4a75790559109f54aa24f9 (patch)
tree0d948e6db9c8fbda64a82c018b645f649617bfac /regress/lib/libc
parentDon't leak domain when freeing block list nodes (diff)
downloadwireguard-openbsd-dbebd7531b6262351d4a75790559109f54aa24f9.tar.xz
wireguard-openbsd-dbebd7531b6262351d4a75790559109f54aa24f9.zip
Check for and handle duplicates on RB_INSERT
If the configuration contains duplicate domains in the block list file or a force list, the nodes would leak in the frontend process each time the config is reloaded. Also add a check when copying the force list over imsg and fatal if a duplicate is encountered. This should never happen. ok florian
Diffstat (limited to 'regress/lib/libc')
0 files changed, 0 insertions, 0 deletions