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
F102729836: D36820.diff
Sat, Nov 16, 11:25 AM
Unknown Object (File)
Sep 21 2024, 9:32 AM
Unknown Object (File)
Sep 21 2024, 9:32 AM
Unknown Object (File)
Sep 21 2024, 9:32 AM
Unknown Object (File)
Sep 17 2024, 10:39 AM
Unknown Object (File)
Sep 16 2024, 4:12 PM
Unknown Object (File)
Sep 16 2024, 3:21 PM
Unknown Object (File)
Sep 4 2024, 4:24 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