This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11956 - False usage of parse_replaygain() in ID3 metadat parsing
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Monday, 21 February 2011, 22:53 GMT+2
Last edited by Andree Buschmann (Buschel) - Tuesday, 22 February 2011, 08:11 GMT+2
Opened by Andree Buschmann (Buschel) - Monday, 21 February 2011, 22:53 GMT+2
Last edited by Andree Buschmann (Buschel) - Tuesday, 22 February 2011, 08:11 GMT+2
|
DetailsThe ID3 metadata parser does not correctly handle parse_replaygain(). The last parameter of parse_replaygain() is the buffer size which is left to save the string representation of replaygain. The current svn implementation calls parse_replaygain() with the length of the string to be evaluated by parse_replaygain().
Possible error case: It may happen that the left buffer is smaller than needed for the string representation. I am providing this fix as a patch to have some reviewers and testers before submitting it. Edit: Fixed some types in the comments. |
This task depends upon
Closed by Andree Buschmann (Buschel)
Tuesday, 22 February 2011, 08:11 GMT+2
Reason for closing: Fixed
Additional comments about closing: Submitted with r29375.
Tuesday, 22 February 2011, 08:11 GMT+2
Reason for closing: Fixed
Additional comments about closing: Submitted with r29375.