mirror of
http://mpg123.de/trunk/.git
synced 2025-10-25 04:37:34 +03:00
ID3 initialization was missing comment = NULL ... that could have nasty consequences, an invalid pointer being presented if a new track didn't overwrite it.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@1243 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
@@ -57,6 +57,7 @@ int mpg123_copy_string(mpg123_string* from, mpg123_string* to)
|
||||
char *text;
|
||||
if(to == NULL) return -1;
|
||||
|
||||
debug2("called copy_string with %p -> %p", from, to);
|
||||
if(from == NULL)
|
||||
{
|
||||
fill = 0;
|
||||
|
||||
Reference in New Issue
Block a user