Page MenuHomeFreeBSD

libedit: Disable -Wuse-after-free for chartype.c.
ClosedPublic

Authored by jhb on Sep 29 2022, 10:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 9, 7:36 AM
Unknown Object (File)
Thu, Jan 9, 5:57 AM
Unknown Object (File)
Thu, Jan 9, 5:57 AM
Unknown Object (File)
Thu, Jan 9, 5:57 AM
Unknown Object (File)
Thu, Jan 9, 5:13 AM
Unknown Object (File)
Dec 13 2024, 1:23 AM
Unknown Object (File)
Nov 16 2024, 1:50 PM
Unknown Object (File)
Nov 16 2024, 11:25 AM
Subscribers
None

Details

Summary

GCC 12 thinks ct_visual_string can reuse a pointer after it has been
reallocated, but in this case the warning appears false.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable