Skip to content

Fix unbounded loop that causes a segfault

This fixes a bug I came across that also was reported in #77 (closed). This code is safer, but I'm not entirely sure I've recreated the same logic. My interpretation is that there are two sets of addresses of which one (the Aura controllers on RAM chips?) needs special treatment, followed by a loop over all the possible addresses to perform the final creation of the RGBController. However, some addresses appear in both the aura_ram_addresses and the group of if statements that was at the bottom.

Edited by Steven Franzen

Merge request reports

Loading