diff options
| author | Timo Teräs <timo.teras@iki.fi> | 2013-01-08 16:02:18 +0200 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-01-30 06:53:46 +0000 |
| commit | 31ac4fa138c8df9ddad1ee090e9d5e13ea17fa2f (patch) | |
| tree | b6227cae631c99a9bfe733c4db09a443b4ea8635 /main/ipsec-tools/04-splitnet-malloc-fix.patch | |
| parent | e20039bd99549ce64242e04536a2a2908b4165e7 (diff) | |
| download | aports-31ac4fa138c8df9ddad1ee090e9d5e13ea17fa2f.tar.bz2 aports-31ac4fa138c8df9ddad1ee090e9d5e13ea17fa2f.tar.xz | |
main/ipsec-tools: upgrade to 0.8.1
remove patches present upstream
(cherry picked from commit 7a82240b4bb9837ff01fee1dadb37e1f17ee50b8)
(cherry picked from commit 390d7c24a40c667fa713be619513798524b10a74)
Diffstat (limited to 'main/ipsec-tools/04-splitnet-malloc-fix.patch')
| -rw-r--r-- | main/ipsec-tools/04-splitnet-malloc-fix.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/main/ipsec-tools/04-splitnet-malloc-fix.patch b/main/ipsec-tools/04-splitnet-malloc-fix.patch deleted file mode 100644 index 5f7aa8b90a..0000000000 --- a/main/ipsec-tools/04-splitnet-malloc-fix.patch +++ /dev/null @@ -1,36 +0,0 @@ -Please note that diffs are not public domain; they are subject to the -copyright notices on the relevant files. - -=================================================================== -RCS file: /ftp/cvs/cvsroot/src/crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c,v -retrieving revision 1.9 -retrieving revision 1.9.18.1 -diff -u -p -r1.9 -r1.9.18.1 ---- ipsec-tools/src/racoon/isakmp_unity.c 2007/10/19 03:37:19 1.9 -+++ ipsec-tools/src/racoon/isakmp_unity.c 2012/01/01 17:32:04 1.9.18.1 -@@ -1,4 +1,4 @@ --/* $NetBSD: isakmp_unity.c,v 1.9 2007/10/19 03:37:19 manu Exp $ */ -+/* $NetBSD: isakmp_unity.c,v 1.9.18.1 2012/01/01 17:32:04 tteras Exp $ */ - - /* Id: isakmp_unity.c,v 1.10 2006/07/31 04:49:23 manubsd Exp */ - -@@ -387,8 +387,9 @@ char * splitnet_list_2str(list, splitnet - netentry = netentry->next; - } - -- /* allocate network list string */ -- str = racoon_malloc(len); -+ /* allocate network list string; we need the extra byte temporarily -+ * as sprintf() will write trailing 0-byte after the space. */ -+ str = racoon_malloc(len + 1); - if (str == NULL) - return NULL; - -@@ -414,6 +415,7 @@ char * splitnet_list_2str(list, splitnet - netentry = netentry->next; - } - -+ /* trim the string to not have trailing spaces */ - str[len-1]=0; - - return str; |
