Skip to content
Commit fd9fd568 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

test: Zeroify scm buffer before filling



The CMSG_NXTHDR checks the length of the __next__ cmsg, i.e. the one
that it is about to return for filling. Thus, keeping there anything
but zeroes is unsafe.

Reported-by: default avatarPavel Tikhomirov <snorcht@gmail.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 5087faa0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment