summaryrefslogtreecommitdiff
path: root/units/systemd-networkd.service.m4.in
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-10-12 14:44:26 +0200
committerDaniel Mack <daniel@zonque.org>2015-10-12 15:15:25 +0200
commit40f44238924acf4e7a3ddfc1b0b1c111032bb43d (patch)
treec697af52c33ab9c3d64015fd6077b5b98d01e6a2 /units/systemd-networkd.service.m4.in
parent0a41d91f3022ae5107151ebd1af9b65a55030c7e (diff)
sd-daemon: wipe out memory before using CMSG_NXTHDR()
CMSG_NXTHDR() checks for cmsg->cmsg_len *after* it increased the pointer. While this makes sense for parsing received messages, that's a pitfall for code crafting messages with this macro. Wipe out the allocated memory to fix this.
Diffstat (limited to 'units/systemd-networkd.service.m4.in')
0 files changed, 0 insertions, 0 deletions