ports/sysutils/slurm-wlm/files/patch-src_common_slurm__xlator.h
Jason W. Bacon 916142df1a sysutils/slurm-wlm: Upgrade to 19.05.1-2
Resolves CVE-2019-12838
Add NOT_FOR_ARCHS since upstream has deprecated 32-bit architectures
2019-07-21 00:10:11 +00:00

12 lines
347 B
C

--- src/common/slurm_xlator.h.orig 2019-05-28 17:23:14 UTC
+++ src/common/slurm_xlator.h
@@ -300,7 +300,9 @@
* The header file used only for #define values. */
/* strlcpy.[ch] functions */
+#if (!HAVE_STRLCPY) // Match this to src/common/strlcpy.c
#define strlcpy slurm_strlcpy
+#endif
/* switch.[ch] functions
* None exported today.