Re: [PATCH] modechange: avoid memory leaks for invalid octal modes
Thanks, I pushed that.
[PATCH] modechange: avoid memory leaks for invalid octal modes
* lib/modechange.c (mode_compile): During the parsing of notations like +40, free the 'mc' buffer for invalid mode strings like +1 (greater than the maximum octal mode), =18 (bad octal mode characters) or u=1 ('affected' with octal modes). Reproducer, e.g.: $ valgrind --leak-check=full chm