This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7933 - fireworks.c: Duplicate element in autofire_delay_settings
Attached to Project:
Rockbox
Opened by Mario Lang (mlang) - Thursday, 11 October 2007, 18:05 GMT+2
Last edited by Peter D'Hoye (petur) - Thursday, 11 October 2007, 21:33 GMT+2
Opened by Mario Lang (mlang) - Thursday, 11 October 2007, 18:05 GMT+2
Last edited by Peter D'Hoye (petur) - Thursday, 11 October 2007, 21:33 GMT+2
|
DetailsThe autofire_delay_settings array contains a duplicate element (300ms).
Since autofire_delay_values has only 15 elements, but 16 is assumed due to the duplicate element in ..._settings, we have a possible out-of-bounds access as well. Remove the duplicate element and change 16 to 15 all over. |
This task depends upon
Closed by Peter D'Hoye (petur)
Thursday, 11 October 2007, 21:33 GMT+2
Reason for closing: Accepted
Additional comments about closing: thanks for spotting
Thursday, 11 October 2007, 21:33 GMT+2
Reason for closing: Accepted
Additional comments about closing: thanks for spotting