Re: [PATCH v1 1/6] tls: Fix dangling skb pointer in tls_sw_read_sock()
"Chuck Lever" <[email protected]> Fri, 06 Mar 2026 09:33:38 -0500
| Newsgroups | dev.linux.lists.kernel-tls-handshake,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 5, 2026, at 5:19 PM, Jakub Kicinski wrote: > On Thu, 5 Mar 2026 16:13:57 -0500 Chuck Lever wrote: >> Evaluating a dangling pointer is undefined behavior under the C >> standard. > > Reference? ISO/IEC 9899:2011 (C11), ยง6.2.4 paragraph 2: "The value of a pointer becomes indeterminate when the object it points to (or just past) reaches the end of its lifetime." For the next revision of this series, the patch description will include this reference. -- Chuck Lever