AOSD plug-in out-of-bounds array access with old Audacious config values
The AOSD plug-in trigger config constants have changed between Audacious 3.2.4 and 3.3. One trigger constant has been removed, the other ones have been lowered by one. That causes several parts of the AOSD plug-in to crash due to array out-of-bounds access.
The attached patch can avoid the crash, but since the trigger constants have changed, it cannot be guaranteed that Audacious 3.3.3 actives the same triggers as 3.2.4.
It might have been better to rename the "trigger_active" config value in Audacious 3.3, even if that would break a compatible AOSD config for a few users.
#1 Updated by John Lindgren over 8 years ago
- Category set to plugins/aosd
- Status changed from New to Closed
- Target version set to 3.3.4
- % Done changed from 0 to 100