http.c: fixed out of buffer write with ICY meta

parent 2f62eb32
...@@ -639,7 +639,7 @@ static int ReadICYMeta( access_t *p_access ) ...@@ -639,7 +639,7 @@ static int ReadICYMeta( access_t *p_access )
if( i_read != buffer[0] * 16 ) if( i_read != buffer[0] * 16 )
return VLC_EGENERIC; return VLC_EGENERIC;
psz_meta[buffer[0]*16 + 1] = '\0'; /* Just in case */ psz_meta[buffer[0]*16] = '\0'; /* Just in case */
msg_Dbg( p_access, "icy-meta=%s", psz_meta ); msg_Dbg( p_access, "icy-meta=%s", psz_meta );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment