changeset 1754:99e468c53dff

Automated merge with ssh://hg.atheme.org//hg/audacious-plugins
author William Pitcock <nenolod@atheme.org>
date Thu, 20 Sep 2007 10:37:08 -0500
parents c730f0212456 (current diff) 301a2f9b287d (diff)
children 8dd3274ec57e a99495a865eb
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/neon/neon.c	Thu Sep 20 10:36:56 2007 -0500
+++ b/src/neon/neon.c	Thu Sep 20 10:37:08 2007 -0500
@@ -223,7 +223,7 @@
                      * End of tag name.
                      */
                     *p = '\0';
-                    strcpy(name, tstart);
+                    g_strlcpy(name, tstart, 4096);
                     _DEBUG("Found tag name: %s", name);
                     state = 2;
                 } else {
@@ -252,7 +252,7 @@
                      * End of value
                      */
                     *p = '\0';
-                    strcpy(value, tstart);
+                    g_strlcpy(value, tstart, 4096);
                     _DEBUG("Found tag value: %s", value);
                     add_icy(m, name, value);
                     state = 4;