CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/09/23 05:00:42
Modified files:
sys/net : rtsock.c
Log message:
Do more sanity checks when accepting socket addresses in routing
messages from user land. Inspect length field early in rtm_xaddrs().
Strings must be NUL terminated. The socket address type and length
depend on the routing message type. Currently checks are not super
strict to avoid too much user land fallout.
OK mpi@
Reported-by: [email protected]
