Page MenuHomeFreeBSD
Authored By
emaste
Jul 30 2018, 6:13 PM
Size
415 B
Referenced Files
None
Subscribers
None

patch-gets

--- libssp/gets-chk.c.orig 2018-07-30 12:48:13.433861000 -0400
+++ libssp/gets-chk.c 2018-07-30 12:49:23.467356000 -0400
@@ -51,7 +51,9 @@
# include <string.h>
#endif
-#if !(!defined __USE_ISOC11 \
+#if defined(__FreeBSD__) && __FreeBSD__ >= 12
+#define gets(s) abort(), NULL
+#elif !(!defined __USE_ISOC11 \
|| (defined __cplusplus && __cplusplus <= 201103L))
extern char *gets (char *);
#endif

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1514113
Default Alt Text
patch-gets (415 B)

Event Timeline