|
|
Log in / Subscribe / Register

C can't do provenance

C can't do provenance

Posted Sep 29, 2024 21:59 UTC (Sun) by NYKevin (subscriber, #129325)
In reply to: C can't do provenance by foom
Parent article: Linus and Dirk on succession, Rust, and more

Then someone needs to correct https://en.cppreference.com/w/c/memory/free, which says the following:

> The behavior is undefined if after free() returns, an access is made through the pointer ptr (unless another allocation function happened to result in a pointer value equal to ptr).


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds