This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8635 - overflow in test_disk plugin
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Sunday, 24 February 2008, 13:05 GMT+2
Last edited by Jens Arnold (amiconn) - Tuesday, 26 February 2008, 19:32 GMT+2
Opened by Andree Buschmann (Buschel) - Sunday, 24 February 2008, 13:05 GMT+2
Last edited by Jens Arnold (amiconn) - Tuesday, 26 February 2008, 19:32 GMT+2
|
DetailsWhen test_disk reaches >~8300 KB/sec there occurs an signed overflow in the calculation of the disk speed. As chunk_size is always used as a multiple of 1<<8 we can simply move the ">>8" instruction to avoid overflow.
|
This task depends upon