diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-05-09 17:11:51 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-05-09 17:11:51 +0200 |
commit | 78a865da6c21231b1cff56c45c94fe1641159616 (patch) | |
tree | 83ed96e75224f42905302a7c6918bb96d56466fc /junklib.c | |
parent | 1b49c36a819f05ed64276642a16883c6e7c24a98 (diff) |
junklib: fixed handlid invalid UFID in id3v2
Diffstat (limited to 'junklib.c')
-rw-r--r-- | junklib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3005,12 +3005,12 @@ junk_id3v2_load_ufid (int version_major, playItem_t *it, uint8_t *readptr, int s readptr++; synched_size--; } - readptr++; - synched_size--; if (!synched_size) { - trace ("UFID id is empty"); + trace ("UFID owner is not null-terminated\n"); return -1; } + readptr++; + synched_size--; char id[synched_size+1]; memcpy (id, readptr, synched_size); id[synched_size] = 0; |