diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-09-04 17:18:57 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-09-04 17:18:57 +0000 |
commit | b0477a69d5f9318868f672bb56f6b24c7883728e (patch) | |
tree | 73e17bfa949207fe93fa22197cb848bca89d033f /lib/libcrypto/pkcs12 | |
parent | cb349a675cc1c29840afd3f87c709a761ac38630 (diff) |
Prevent a NULL derefernce in ip_output().
A race can happen if a task, like the watchog, sleeps too long keeping
an ifp reference while the interface is detached. In this case a TCP
timer will try to send packets with a cached route. Since the ifp is
being detached if_get(9) returns NULL.
Found the hardway by awolk@.
ok bluhm@
Diffstat (limited to 'lib/libcrypto/pkcs12')
0 files changed, 0 insertions, 0 deletions