eggdrop icon indicating copy to clipboard operation
eggdrop copied to clipboard

Dont realloc (and fix use after free in 3rd party modules)

Open michaelortmann opened this issue 1 year ago • 0 comments

Found by: michaelortmann Patch by: michaelortmann Fixes:

One-line summary: Dont realloc

Additional description (if needed): No need to realloc. Besides the cleaning up, it will help with real world problem. Modules like starts.mod copy channel member pointers and suffer from use after free. A problem that is very hard to fix (and find) in those modules.

Test cases demonstrating functionality (if applicable): No functional change for eggdrop core / channel mod.

michaelortmann avatar Mar 17 '24 05:03 michaelortmann