diff options
author | Mohamed Tarek <mt@rockbox.org> | 2011-01-01 11:14:03 +0000 |
---|---|---|
committer | Mohamed Tarek <mt@rockbox.org> | 2011-01-01 11:14:03 +0000 |
commit | 506a15bd73ddeb04d1ab85daa007d2d46809ea4d (patch) | |
tree | 6413cd7f6929e25a92af8e3be668ff6d1911da6d /apps/metadata/rm.c | |
parent | 651c9cb272cdae0aacba23163dd384b50a97fab7 (diff) |
Fix FS#11845 by rejecting unknown header signatures in the audio stream info block. RALF uses a different header signature than ('.', 'r', 'a', 0xfd). Apparently ('L', 'S', 'D', ':').
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28937 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/rm.c')
-rw-r--r-- | apps/metadata/rm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/metadata/rm.c b/apps/metadata/rm.c index e3f0d3694e..0b26a36ffc 100644 --- a/apps/metadata/rm.c +++ b/apps/metadata/rm.c @@ -374,7 +374,13 @@ static int rm_parse_header(int fd, RMContext *rmctx, struct mp3entry *id3) return -1; else skipped += temp; + } + else + { + DEBUGF("Unknown header signature :\"%s\"\n", fourcc2str(v)); + return -1; } + break; |