1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Fix a buffer overflow introduced in 3.30. This patch will be adopted

in 3.31. :-)
This commit is contained in:
Sheldon Hearn 2001-06-18 16:13:38 +00:00
parent fbad0c9cf4
commit a7376577f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44178
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/tree.c.orig Mon Jun 18 18:10:01 2001
+++ src/tree.c Mon Jun 18 18:10:27 2001
@@ -25,7 +25,7 @@
Returns: points to prepared address string, in a fixed bit of store
*/
-static char prepared_address[256];
+static char prepared_address[512];
static char *
address_prepare(char *s)

View File

@ -0,0 +1,11 @@
--- src/tree.c.orig Mon Jun 18 18:10:01 2001
+++ src/tree.c Mon Jun 18 18:10:27 2001
@@ -25,7 +25,7 @@
Returns: points to prepared address string, in a fixed bit of store
*/
-static char prepared_address[256];
+static char prepared_address[512];
static char *
address_prepare(char *s)

View File

@ -0,0 +1,11 @@
--- src/tree.c.orig Mon Jun 18 18:10:01 2001
+++ src/tree.c Mon Jun 18 18:10:27 2001
@@ -25,7 +25,7 @@
Returns: points to prepared address string, in a fixed bit of store
*/
-static char prepared_address[256];
+static char prepared_address[512];
static char *
address_prepare(char *s)