summaryrefslogtreecommitdiffstats
path: root/arm-hybrid-22k
diff options
context:
space:
mode:
authorDave Sparks <davidsparks@android.com>2009-08-25 18:01:18 -0700
committerDave Sparks <davidsparks@android.com>2009-08-25 18:01:18 -0700
commitf198281e8a0b62addc8f5304ba20983feda9f905 (patch)
tree568e82009b7d4e9f69435e8b1503ebdd8d5cb7c3 /arm-hybrid-22k
parent56c99cd2c2c1e6ab038dac5fced5b92ccf11ff6c (diff)
downloadandroid_external_sonivox-f198281e8a0b62addc8f5304ba20983feda9f905.tar.gz
android_external_sonivox-f198281e8a0b62addc8f5304ba20983feda9f905.tar.bz2
android_external_sonivox-f198281e8a0b62addc8f5304ba20983feda9f905.zip
Fix infinite loop issue with correctly formed, but useless iMelody files (bug 2068782).
It is possible to construct a legitimate iMelody file that consists of only control commands such as ledon, ledoff, etc. in an infinite loop. If there are no notes or rests in the file, the iMelody parser will spin in an infinite loop sucking as many CPU cycles as it can get. This fix ignores loops that contain no notes or rests since they make no sense. The controls will be processed, but the loop will only execute once.
Diffstat (limited to 'arm-hybrid-22k')
0 files changed, 0 insertions, 0 deletions