Fix a coredump when tagging a release

PR:		153874
Submitted by:	Dan Mahoney <dmahoney@isc.org>
Approved by:	maintainer timeout
This commit is contained in:
Tilman Keskinoz 2011-02-22 15:48:45 +00:00
parent 1975b55887
commit 057a62bac3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269504
2 changed files with 15 additions and 1 deletions

View File

@ -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}

View File

@ -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;