Fix segfault after missing transmit time stamp.
If the networking stack fails to provide a transmit time stamp, then we might feed uninitialized stack data to the CMSG(3) macros. This can result in a segfault or other badness. The fix is to simply clear the control buffer in advance. Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
150da0cba9
commit
a9e88a0a49
Loading…
Reference in New Issue