cvs: fix bug in gnulib crashing with FORTIFY_SOURCE=2.
This commit is contained in:
parent
bb0bb3c0b0
commit
d129aa69b2
|
@ -0,0 +1,16 @@
|
|||
--- lib/vasnprintf.c.orig 2015-05-16 16:57:13.712246576 +0200
|
||||
+++ lib/vasnprintf.c 2015-05-16 16:57:38.471145720 +0200
|
||||
@@ -557,13 +557,7 @@
|
||||
break;
|
||||
}
|
||||
*p = dp->conversion;
|
||||
-#if USE_SNPRINTF
|
||||
- p[1] = '%';
|
||||
- p[2] = 'n';
|
||||
- p[3] = '\0';
|
||||
-#else
|
||||
p[1] = '\0';
|
||||
-#endif
|
||||
|
||||
/* Construct the arguments for calling snprintf or sprintf. */
|
||||
prefix_count = 0;
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'cvs'
|
||||
pkgname=cvs
|
||||
version=1.12.13
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-editor=/usr/bin/vi --with-external-zlib
|
||||
ac_cv_func_working_mktime=yes" # broken test upstream
|
||||
|
|
Loading…
Reference in New Issue