PixelyIon 645183c903 Fix OOB Vibration Array Access in VibrateDevice
Access to the `vibrations` field in `vibrations[3].period` could lead to UB, this has been replaced with a proper check which adds up the period over all vibrations instead. A minor cleanup with variable names and explicit types for integer arithmetic has also been done.
2021-10-26 21:57:28 +05:30
..
2019-10-18 16:22:38 +05:30
2021-10-26 10:46:36 +05:30
2021-10-26 20:08:18 +05:30