diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-10-13 23:32:53 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-10-13 23:32:53 +0000 |
commit | 8ce861a35fecd86689f47727945d3014e1474030 (patch) | |
tree | af8d10c4b1f640e282338fb0563e12b1abe5db35 /audio/icecast/files/patch-src::ice_string.c | |
parent | [NEW PORT] multimedia/gavl: A library for handling uncompressed video and aud... (diff) |
Fix cross-site scripting vulnerability
(http://www.debian.org/security/2004/dsa-541).
Patches obtained from: Debian
Diffstat (limited to 'audio/icecast/files/patch-src::ice_string.c')
-rw-r--r-- | audio/icecast/files/patch-src::ice_string.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/icecast/files/patch-src::ice_string.c b/audio/icecast/files/patch-src::ice_string.c new file mode 100644 index 000000000000..8daba719660a --- /dev/null +++ b/audio/icecast/files/patch-src::ice_string.c @@ -0,0 +1,11 @@ +--- src/ice_string.c ++++ src/ice_string.c +@@ -334,8 +334,6 @@ + + char *safe_strcat(char *dest, const char *src, unsigned int maxsize) + { +- int size = 0; +- + if (!dest || !src) return dest; + + if (ice_strlen(dest) + ice_strlen(src) + 1 >= maxsize) { |