summaryrefslogtreecommitdiff
path: root/security/0d1n/files/patch-src_strsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/0d1n/files/patch-src_strsec.c')
-rw-r--r--security/0d1n/files/patch-src_strsec.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/0d1n/files/patch-src_strsec.c b/security/0d1n/files/patch-src_strsec.c
new file mode 100644
index 000000000000..45dd79f5b0cf
--- /dev/null
+++ b/security/0d1n/files/patch-src_strsec.c
@@ -0,0 +1,15 @@
+--- src/strsec.c.orig 2023-02-20 12:39:57 UTC
++++ src/strsec.c
+@@ -16,11 +16,11 @@
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#include "strsec.h"
+
+ #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && \
+ !defined(__bsdi__) && !defined(__APPLE__)
+
+-#include "strsec.h"
+ /*
+ * Copy src to string dst of size siz. At most siz-1 characters
+ * will be copied. Always NUL terminates (unless siz == 0).