summaryrefslogtreecommitdiff
path: root/audio/id3ren
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-27 01:02:31 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-27 01:02:31 +0000
commit7037100c1dea1fd6249446b430c11ef747868fbf (patch)
treef4ae945024f4e31fb7745d62ab433a8e97ef3396 /audio/id3ren
parentUpdate to version 4.21. (diff)
Initial buffer correctly by zeroing out before use.
PR: 15030 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=24122
Diffstat (limited to 'audio/id3ren')
-rw-r--r--audio/id3ren/Makefile1
-rw-r--r--audio/id3ren/files/patch-aa2
-rw-r--r--audio/id3ren/files/patch-ab10
3 files changed, 11 insertions, 2 deletions
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 <jonny@jonny.eng.br>
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')