MartinNohr / MagicImageWand

Paints Images in the Air with LEDs
Apache License 2.0
20 stars 6 forks source link

Memory allocation error #38

Closed MartinNohr closed 3 years ago

MartinNohr commented 3 years ago

SettingsSaveRestore() is allocating memory for the size of an array, but it should be the count of the sizes of all the elements that the array points to. This causes a crash in some cases. I have fixed the issue in version 1.13.

MartinNohr commented 3 years ago

Closing this, the bug has been fixed.