From 59d30e918638a609ffeab3cddbb66dd503dfd66b Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 22:44:32 +0000 Subject: Apply patch readline-6.2-debug_fncs_security_fix.patch patch_name: readline-6.2-debug_fncs_security_fix.patch present_in_specfile: true --- diff --git a/util.c b/util.c index 6c68ad8..bc50dc1 100644 --- a/util.c +++ b/util.c @@ -468,6 +468,7 @@ _rl_savestring (s) return (strcpy ((char *)xmalloc (1 + (int)strlen (s)), (s))); } +#if defined (DEBUG) #if defined (USE_VARARGS) static FILE *_rl_tracefp; @@ -524,3 +525,4 @@ _rl_trclose () } #endif +#endif /* DEBUG */