58d29f5aa5
Changelog: https://github.com/uriparser/uriparser/blob/uriparser-1.0.1/ChangeLog - reveal BSD extensions during build PR: 294830 Security: CVE-2026-42371 Sponsored by: UNIS Labs MFH: 2026Q2
14 lines
264 B
C
14 lines
264 B
C
--- src/UriMemory.c.orig 2026-04-27 12:35:55 UTC
|
|
+++ src/UriMemory.c
|
|
@@ -66,6 +66,10 @@
|
|
# endif
|
|
#endif
|
|
|
|
+/* Ensure BSD extensions like reallocarray are visible */
|
|
+#define __BSD_VISIBLE 1
|
|
+#define _DEFAULT_SOURCE 1
|
|
+
|
|
#include <errno.h>
|
|
#include <stdlib.h>
|
|
|