diff options
author | lawrance <lawrance@FreeBSD.org> | 2005-07-30 16:21:10 +0000 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2005-07-30 16:21:10 +0000 |
commit | 3ca21592541965254fca23ff28551cb92531b931 (patch) | |
tree | 6b823b00bb54f832426af6c7954e15c5141e801c | |
parent | 12a2732bfbf85f90787e562d8071bfc09a6a5c6b (diff) | |
download | FreeBSD-ports-3ca21592541965254fca23ff28551cb92531b931.zip FreeBSD-ports-3ca21592541965254fca23ff28551cb92531b931.tar.gz |
- Add a patch to fix a buffer overflow crash (tended to show
itself on 4.x systems).
- Bump PORTREVISION.
PR: ports/81104
Submitted by: Laurent DAVERIO <daverio@cri.ensmp.fr> (PR)
John E Hein <jhein@timing.com> (fix)
-rw-r--r-- | misc/amanda-server/Makefile | 2 | ||||
-rw-r--r-- | misc/amanda-server/files/patch-server-src_infofile.c | 11 | ||||
-rw-r--r-- | misc/amanda25-server/Makefile | 2 | ||||
-rw-r--r-- | misc/amanda25-server/files/patch-server-src_infofile.c | 11 | ||||
-rw-r--r-- | misc/amanda26-server/Makefile | 2 | ||||
-rw-r--r-- | misc/amanda26-server/files/patch-server-src_infofile.c | 11 | ||||
-rw-r--r-- | misc/amanda32-server/Makefile | 2 | ||||
-rw-r--r-- | misc/amanda32-server/files/patch-server-src_infofile.c | 11 |
8 files changed, 48 insertions, 4 deletions
diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile index 33047aa..4f1c468 100644 --- a/misc/amanda-server/Makefile +++ b/misc/amanda-server/Makefile @@ -7,7 +7,7 @@ PORTNAME?= ${MASTERPORTNAME} PORTVERSION= 2.4.5 -PORTREVISION?= 0 +PORTREVISION?= 1 PORTEPOCH= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff --git a/misc/amanda-server/files/patch-server-src_infofile.c b/misc/amanda-server/files/patch-server-src_infofile.c new file mode 100644 index 0000000..e826e41 --- /dev/null +++ b/misc/amanda-server/files/patch-server-src_infofile.c @@ -0,0 +1,11 @@ +--- server-src/infofile.c.orig Wed Mar 16 11:15:28 2005 ++++ server-src/infofile.c Thu Jul 7 14:12:54 2005 +@@ -274,7 +274,7 @@ + rc = 0; + + nb_history = 0; +- for(i=0;i<=NB_HISTORY+1;i++) { ++ for(i=0;i<sizeof(info->history)/sizeof(info->history[0]);i++) { + info->history[i].level = -2; + } + for(rc = -2; (line = agets(infof)) != NULL; free(line)) { diff --git a/misc/amanda25-server/Makefile b/misc/amanda25-server/Makefile index 33047aa..4f1c468 100644 --- a/misc/amanda25-server/Makefile +++ b/misc/amanda25-server/Makefile @@ -7,7 +7,7 @@ PORTNAME?= ${MASTERPORTNAME} PORTVERSION= 2.4.5 -PORTREVISION?= 0 +PORTREVISION?= 1 PORTEPOCH= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff --git a/misc/amanda25-server/files/patch-server-src_infofile.c b/misc/amanda25-server/files/patch-server-src_infofile.c new file mode 100644 index 0000000..e826e41 --- /dev/null +++ b/misc/amanda25-server/files/patch-server-src_infofile.c @@ -0,0 +1,11 @@ +--- server-src/infofile.c.orig Wed Mar 16 11:15:28 2005 ++++ server-src/infofile.c Thu Jul 7 14:12:54 2005 +@@ -274,7 +274,7 @@ + rc = 0; + + nb_history = 0; +- for(i=0;i<=NB_HISTORY+1;i++) { ++ for(i=0;i<sizeof(info->history)/sizeof(info->history[0]);i++) { + info->history[i].level = -2; + } + for(rc = -2; (line = agets(infof)) != NULL; free(line)) { diff --git a/misc/amanda26-server/Makefile b/misc/amanda26-server/Makefile index 33047aa..4f1c468 100644 --- a/misc/amanda26-server/Makefile +++ b/misc/amanda26-server/Makefile @@ -7,7 +7,7 @@ PORTNAME?= ${MASTERPORTNAME} PORTVERSION= 2.4.5 -PORTREVISION?= 0 +PORTREVISION?= 1 PORTEPOCH= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff --git a/misc/amanda26-server/files/patch-server-src_infofile.c b/misc/amanda26-server/files/patch-server-src_infofile.c new file mode 100644 index 0000000..e826e41 --- /dev/null +++ b/misc/amanda26-server/files/patch-server-src_infofile.c @@ -0,0 +1,11 @@ +--- server-src/infofile.c.orig Wed Mar 16 11:15:28 2005 ++++ server-src/infofile.c Thu Jul 7 14:12:54 2005 +@@ -274,7 +274,7 @@ + rc = 0; + + nb_history = 0; +- for(i=0;i<=NB_HISTORY+1;i++) { ++ for(i=0;i<sizeof(info->history)/sizeof(info->history[0]);i++) { + info->history[i].level = -2; + } + for(rc = -2; (line = agets(infof)) != NULL; free(line)) { diff --git a/misc/amanda32-server/Makefile b/misc/amanda32-server/Makefile index 33047aa..4f1c468 100644 --- a/misc/amanda32-server/Makefile +++ b/misc/amanda32-server/Makefile @@ -7,7 +7,7 @@ PORTNAME?= ${MASTERPORTNAME} PORTVERSION= 2.4.5 -PORTREVISION?= 0 +PORTREVISION?= 1 PORTEPOCH= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff --git a/misc/amanda32-server/files/patch-server-src_infofile.c b/misc/amanda32-server/files/patch-server-src_infofile.c new file mode 100644 index 0000000..e826e41 --- /dev/null +++ b/misc/amanda32-server/files/patch-server-src_infofile.c @@ -0,0 +1,11 @@ +--- server-src/infofile.c.orig Wed Mar 16 11:15:28 2005 ++++ server-src/infofile.c Thu Jul 7 14:12:54 2005 +@@ -274,7 +274,7 @@ + rc = 0; + + nb_history = 0; +- for(i=0;i<=NB_HISTORY+1;i++) { ++ for(i=0;i<sizeof(info->history)/sizeof(info->history[0]);i++) { + info->history[i].level = -2; + } + for(rc = -2; (line = agets(infof)) != NULL; free(line)) { |