]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: fix memleak
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 Jul 2019 16:02:07 +0000 (01:02 +0900)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Jul 2019 10:27:48 +0000 (12:27 +0200)
commite4443f9bfcc4576e1e8bf6bbb4e5d03db987ada7
tree900b73d34b7424ccdebe8529a13f73a283bc21a8
parentf34635bcda4e725f72da4ae982b83daf36609b41
network: fix memleak

set_put() does not return -EEXIST.

Fixes #12995 and oss-fuzz#15678.
src/network/networkd-ndisc.c
test/fuzz/fuzz-network-parser/oss-fuzz-15678 [new file with mode: 0644]