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
F107035517: D36820.id111391.diff
Thu, Jan 9, 7:36 AM
F107031216: D36820.id111391.diff
Thu, Jan 9, 5:57 AM
F107031206: D36820.id111238.diff
Thu, Jan 9, 5:57 AM
F107031204: D36820.id.diff
Thu, Jan 9, 5:57 AM
F107029291: D36820.diff
Thu, Jan 9, 5:13 AM
Unknown Object (File)
Fri, Dec 13, 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