Invalid ogg file causes infinite loop

Frank Lai frank.franklai at
Tue Jun 7 18:09:22 CEST 2011

Hi all,

I got an invalid ogg file causes infinite loop. The reason is xiph comment
field count is very large (of course wrong value). The attached patch adds a
check before parse loop (comment count cannot > data size).

If the comment count just less than data size but a large value, the loop
still takes a little time to finish. Wondering if there is a better

Best Regards,
Frank Lai
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xiphcomment-patch.diff
Type: application/octet-stream
Size: 491 bytes
Desc: not available
Url : 

More information about the taglib-devel mailing list