|
|
Rockbox mail archiveSubject: Re: cvs: firmware id3.c,1.41,1.42From: Magnus Holmgren (lear_at_algonet.se) Date: 2002-09-16
Daniel Stenberg wrote:
> Modified Files:
Won't work well, because the ID3 parsing loop won't detect end-of-buffer properly. Either the while statement is made more fool-proof (as it is now, "size - readsize" can wrap), or the else part in the "frame-header if-statement" needs the following code:
if(headerlen > (size - readsize))
(I've encountered this problem; see http://rockbox.haxx.se/mail/archive/rockbox-archive-2002-08/0686.shtml)
Magnus
Page was last modified "Jan 10 2012" The Rockbox Crew |