1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix wild pointer free(). Similar fix exists in mainstream CVS tree.

Approved by:	portmgr (pav)
This commit is contained in:
Max Khon 2007-11-08 19:04:06 +00:00
parent 5a6a4c8b8b
commit 2e5a03071d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202595
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= cvsnt
PORTVERSION= 2.5.03.2704
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.cvsnt.org/archive/

View File

@ -0,0 +1,11 @@
--- diff/diff3.c.orig 2007-11-06 23:59:45.000000000 +0600
+++ diff/diff3.c 2007-11-06 23:59:05.000000000 +0600
@@ -1367,7 +1367,7 @@
char const **ap;
char *diffout;
char *difffn;
- char *encoding;
+ char *encoding = NULL;
TRACE(3, "read_diff() - process arguments");
ap = argv;