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:
parent
5a6a4c8b8b
commit
2e5a03071d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202595
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= cvsnt
|
||||
PORTVERSION= 2.5.03.2704
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.cvsnt.org/archive/
|
||||
|
||||
|
11
devel/cvsnt/files/patch-diff-diff3.c
Normal file
11
devel/cvsnt/files/patch-diff-diff3.c
Normal 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;
|
Loading…
Reference in New Issue
Block a user