Skip to content
Snippets Groups Projects
Commit 4f74c5ca authored by François Cartegnie's avatar François Cartegnie :fingers_crossed: Committed by Hugo Beauzée-Luyssen
Browse files

meta_engine: fix junk at end or raw unterminated ID3 text

parent bd031156
No related branches found
No related tags found
Loading
Pipeline #210150 passed with stage
in 24 minutes and 31 seconds
......@@ -47,7 +47,7 @@ static const char * ID3TextConv( const uint8_t *p_buf, size_t i_buf,
psz = p_alloc = (char *) malloc( i_buf + 1 );
if( p_alloc )
{
memcpy( p_alloc, p_buf, i_buf - 1 );
memcpy( p_alloc, p_buf, i_buf );
p_alloc[i_buf] = '\0';
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment