Closed timothyschoen closed 3 months ago
thanks, cyclone doens't need anything related?
Oh possibly! I just made a test version of plugdata that opens every single helpfile automatically. So with AddressSanitizer enabled, I can find every memory bug! So far, I've found 3 bugs in ELSE (more PRs coming probably), and 2 in pure-data, both reported.
So far, I haven't seen any problems in cyclone, but I'll send PRs if I find anything
This fix is needed to make sure i+1 doesn't go past buffer bounds. In case i == ELSE_FADE_TABSIZE, i+1 will read out of array bounds. In this case, its value won't be used because frac will be zero, so it's fine to just set it to the same value as i.