From 057a62bac35fb52c9a9609bb60488b0e7864ecb9 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Tue, 22 Feb 2011 15:48:45 +0000 Subject: [PATCH] Fix a coredump when tagging a release PR: 153874 Submitted by: Dan Mahoney Approved by: maintainer timeout --- devel/cvs-devel/Makefile | 2 +- devel/cvs-devel/files/patch-src-myndbm.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 devel/cvs-devel/files/patch-src-myndbm.c diff --git a/devel/cvs-devel/Makefile b/devel/cvs-devel/Makefile index a2f216bb1286..b65cee39bb74 100644 --- a/devel/cvs-devel/Makefile +++ b/devel/cvs-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= cvs PORTVERSION= 1.12.13 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= devel ipv6 MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= non-gnu/${PORTNAME}/source/feature/${PORTVERSION} diff --git a/devel/cvs-devel/files/patch-src-myndbm.c b/devel/cvs-devel/files/patch-src-myndbm.c new file mode 100644 index 000000000000..2d8c15aefdbd --- /dev/null +++ b/devel/cvs-devel/files/patch-src-myndbm.c @@ -0,0 +1,14 @@ +--- /src/myndbm.c.orig 2011-01-10 23:53:25.000000000 +0000 ++++ src/myndbm.c 2011-01-10 23:53:33.000000000 +0000 +@@ -213,7 +213,7 @@ + mydbm_load_file (FILE *fp, List *list, char *filename) + { + char *line = NULL; +- size_t line_size; ++ size_t line_size = 0; + char *value; + size_t value_allocated; + char *cp, *vp; + + +