Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-11] src/sys/external/bsd/ipf/netinet
Module Name: src
Committed By: martin
Date: Wed Jun 3 18:24:52 UTC 2026
Modified Files:
src/sys/external/bsd/ipf/netinet [netbsd-11]: ip_fil_netbsd.c
Log Message:
Pull up following revision(s) (requested by bouyer in ticket #295):
sys/external/bsd/ipf/netinet/ip_fil_netbsd.c: revision 1.40
Explicitely check a pointer against NULL before computing a member address,
to avoid undefined behavior. Avoids the same NULL pointer check being
"optimised" later, leading to NULL pointer dereference.
It is expected that -fno-delete-null-pointer-checks would avoid this but
it does not.
For details see
https://mail-index.netbsd.org/tech-toolchain/2026/05/23/msg004818.html
and PR toolchain/60289
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.39.4.1 \
src/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index