From 7037100c1dea1fd6249446b430c11ef747868fbf Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 27 Dec 1999 01:02:31 +0000 Subject: Initial buffer correctly by zeroing out before use. PR: 15030 Submitted by: maintainer --- audio/id3ren/Makefile | 1 - audio/id3ren/files/patch-aa | 2 +- audio/id3ren/files/patch-ab | 10 ++++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 audio/id3ren/files/patch-ab (limited to 'audio/id3ren') diff --git a/audio/id3ren/Makefile b/audio/id3ren/Makefile index 3ad7f1ea9d23..65f254a8f3d8 100644 --- a/audio/id3ren/Makefile +++ b/audio/id3ren/Makefile @@ -1,5 +1,4 @@ # New ports collection makefile for: id3ren -# URL: http://tscnet.com/pages/badcrc/apps/id3ren/ # Version required: 0.97a # Date created: 28 February 1999 # Whom: Joao Carlos Mendes Luis diff --git a/audio/id3ren/files/patch-aa b/audio/id3ren/files/patch-aa index 786a14f25552..8e75600de869 100644 --- a/audio/id3ren/files/patch-aa +++ b/audio/id3ren/files/patch-aa @@ -1,4 +1,4 @@ ---- /lab/elepot/users/Others/jonny/tmp/tohome/mp3/util/id3ren/src/Makefile Wed Mar 18 04:28:44 1998 +--- Makefile.old Wed Mar 18 04:28:44 1998 +++ Makefile Sun Feb 28 16:04:16 1999 @@ -1,16 +1,18 @@ -CFLAGS = -O2 -s -Wall diff --git a/audio/id3ren/files/patch-ab b/audio/id3ren/files/patch-ab new file mode 100644 index 000000000000..5cdd47156820 --- /dev/null +++ b/audio/id3ren/files/patch-ab @@ -0,0 +1,10 @@ +--- id3tag.c.orig Wed Mar 18 17:18:34 1998 ++++ id3tag.c Sun Dec 26 15:11:42 1999 +@@ -365,6 +365,7 @@ + return TRUE; + } + ++ memset(string, 0, size); + fgets(string, size, stdin); + + if (string[strlen(string)-1] == '\n') -- cgit v1.2.3