diff options
| author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-02-02 09:28:48 +0000 |
|---|---|---|
| committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-02-02 09:28:48 +0000 |
| commit | 0a93396cdeab4eb96c7e21531a2d9e2dfde15a2b (patch) | |
| tree | 3b246a0443be7c2ec462125ba7f38638af3ac563 /apps | |
| parent | e3d84ba22e9610c2c6aec90d6179aa42a91be173 (diff) | |
| download | rockbox-0a93396cdeab4eb96c7e21531a2d9e2dfde15a2b.zip rockbox-0a93396cdeab4eb96c7e21531a2d9e2dfde15a2b.tar.gz rockbox-0a93396cdeab4eb96c7e21531a2d9e2dfde15a2b.tar.bz2 rockbox-0a93396cdeab4eb96c7e21531a2d9e2dfde15a2b.tar.xz | |
Do not parse into 'ilst' atom if size is 0. Fixes playability issue in FS#11916.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29185 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/metadata/mp4.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/metadata/mp4.c b/apps/metadata/mp4.c index b3ff348..a59b3f9 100644 --- a/apps/metadata/mp4.c +++ b/apps/metadata/mp4.c @@ -596,7 +596,8 @@ static bool read_mp4_container(int fd, struct mp3entry* id3, break; case MP4_ilst: - if (handler == MP4_mdir) + /* We need at least a size of 8 to read the next atom. */ + if (handler == MP4_mdir && size>8) { rc = read_mp4_tags(fd, id3, size); size = 0; |