diff options
author | Niels Heinen <niels@FreeBSD.org> | 2005-01-11 08:57:47 +0000 |
---|---|---|
committer | Niels Heinen <niels@FreeBSD.org> | 2005-01-11 08:57:47 +0000 |
commit | 44a09f2134257fcb7e23c7d03d211b23a6e2b5e6 (patch) | |
tree | ac3800b9ebe51d6156ad7a040e093eeb8108b929 /audio/mpg123 | |
parent | Upgrade to version 2.0.30. (diff) |
Fixed overflow (see VuXML) and bumped PORTREVISION.
http://www.vuxml.org/freebsd/877e918e-5362-11d9-96d4-00065be4b5b6.html
PR: ports/75231
Submitted by: maintainer
Approved by: nectar (mentor)
Diffstat (limited to 'audio/mpg123')
-rw-r--r-- | audio/mpg123/Makefile | 2 | ||||
-rw-r--r-- | audio/mpg123/files/patch-aj | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile index f0d8ff84610b..0ab03e713c4b 100644 --- a/audio/mpg123/Makefile +++ b/audio/mpg123/Makefile @@ -7,7 +7,7 @@ PORTNAME= mpg123 PORTVERSION= 0.59r -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= audio ipv6 MASTER_SITES= http://www.mpg123.de/mpg123/ \ http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/ diff --git a/audio/mpg123/files/patch-aj b/audio/mpg123/files/patch-aj new file mode 100644 index 000000000000..d0d827ce404a --- /dev/null +++ b/audio/mpg123/files/patch-aj @@ -0,0 +1,15 @@ +--- mpg123.c.orig Tue Aug 21 19:48:17 2001 ++++ mpg123.c Tue Aug 21 19:49:02 2001 +@@ -307,9 +311,9 @@ + if (line[0]=='\0' || line[0]=='#') + continue; + if ((listnamedir) && (line[0]!='/') && (line[0]!='\\')){ +- strcpy (linetmp, listnamedir); +- strcat (linetmp, line); +- strcpy (line, linetmp); ++ strlcpy (linetmp, listnamedir, sizeof(linetmp)); ++ strlcat (linetmp, line, sizeof(linetmp)); ++ strlcpy (line, linetmp, sizeof(linetmp)); + } + return (line); + } |