ref: 32f7860a4e447167b72d87509313cfa527d37b82
parent: b62832e94dbfdc1c09edc9995745a77e1758bb0f
author: ISSOtm <eldredhabert0@gmail.com>
date: Sat Dec 7 10:23:52 EST 2019
Fix possible 0-length array in RGBLINK
--- a/src/link/object.c
+++ b/src/link/object.c
@@ -353,7 +353,7 @@
symbolList->next = symbolLists;
symbolLists = symbolList;
- uint32_t nbSymPerSect[nbSections];
+ uint32_t nbSymPerSect[nbSections ? nbSections : 1];
memset(nbSymPerSect, 0, sizeof(nbSymPerSect));