diff options
author | 2020-11-09 04:20:46 +0000 | |
---|---|---|
committer | 2020-11-09 04:20:46 +0000 | |
commit | dbebd7531b6262351d4a75790559109f54aa24f9 (patch) | |
tree | 0d948e6db9c8fbda64a82c018b645f649617bfac /regress/lib/libc | |
parent | Don't leak domain when freeing block list nodes (diff) | |
download | wireguard-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