diff options
author | steve <steve@FreeBSD.org> | 1999-12-27 09:02:31 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-27 09:02:31 +0800 |
commit | 79945082f17f8d6d318386a4419595a88561e017 (patch) | |
tree | 1b0da389fa6e0319a4381858e9a8cc552f228536 /audio/id3ren | |
parent | 7ec001f792c136a2c37bb1425fed6426fa33cbe8 (diff) | |
download | freebsd-ports-gnome-79945082f17f8d6d318386a4419595a88561e017.tar.gz freebsd-ports-gnome-79945082f17f8d6d318386a4419595a88561e017.tar.zst freebsd-ports-gnome-79945082f17f8d6d318386a4419595a88561e017.zip |
Initial buffer correctly by zeroing out before use.
PR: 15030
Submitted by: maintainer
Diffstat (limited to 'audio/id3ren')
-rw-r--r-- | audio/id3ren/Makefile | 1 | ||||
-rw-r--r-- | audio/id3ren/files/patch-aa | 2 | ||||
-rw-r--r-- | audio/id3ren/files/patch-ab | 10 |
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')
|