Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148280709
D42576.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D42576.diff
View Options
diff --git a/lib/libcasper/services/cap_grp/Makefile b/lib/libcasper/services/cap_grp/Makefile
--- a/lib/libcasper/services/cap_grp/Makefile
+++ b/lib/libcasper/services/cap_grp/Makefile
@@ -40,3 +40,6 @@
MLINKS+=cap_grp.3 cap_grp_limit_groups.3
.include <bsd.lib.mk>
+
+# GCC 13 complains incorrectly about free after failed realloc: GCC bug #110501
+CFLAGS.cap_grp.c+= ${NO_WUSE_AFTER_FREE}
diff --git a/lib/libcasper/services/cap_netdb/Makefile b/lib/libcasper/services/cap_netdb/Makefile
--- a/lib/libcasper/services/cap_netdb/Makefile
+++ b/lib/libcasper/services/cap_netdb/Makefile
@@ -29,3 +29,6 @@
MLINKS+=cap_netdb.3 cap_getprotobyname.3
.include <bsd.lib.mk>
+
+# GCC 13 complains incorrectly about free after failed realloc: GCC bug #110501
+CFLAGS.cap_netdb.c+= ${NO_WUSE_AFTER_FREE}
diff --git a/lib/libcasper/services/cap_pwd/Makefile b/lib/libcasper/services/cap_pwd/Makefile
--- a/lib/libcasper/services/cap_pwd/Makefile
+++ b/lib/libcasper/services/cap_pwd/Makefile
@@ -40,3 +40,6 @@
MLINKS+=cap_pwd.3 cap_pwd_limit_users.3
.include <bsd.lib.mk>
+
+# GCC 13 complains incorrectly about free after failed realloc: GCC bug #110501
+CFLAGS.cap_pwd.c+= ${NO_WUSE_AFTER_FREE}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 17, 11:40 PM (3 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29859904
Default Alt Text
D42576.diff (1 KB)
Attached To
Mode
D42576: libcasper: Neuter false positive -Wuse-after-free warnings from GCC 13
Attached
Detach File
Event Timeline
Log In to Comment