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/files | |
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/files')
-rw-r--r-- | audio/id3ren/files/patch-aa | 2 | ||||
-rw-r--r-- | audio/id3ren/files/patch-ab | 10 |
2 files changed, 11 insertions, 1 deletions
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')
|