Re: [bug #66870] memory corruption
Paul Smith <[email protected]>
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Organization | GNU's Not UNIX! |
| Message-ID | <[email protected]> |
On Wed, 2025-03-05 at 18:23 -0500, Dmitry Goncharov wrote: > There is a buffer overflow when shellflags contains characters > special to shell, like =. > See https://savannah.gnu.org/bugs/?65588. I got really fed up with the current command line parser and I have a fully-rewritten version that is not recursive and is (I hope) cleaner and simpler to understand, and as a side-effect I believe it won't run into this memory issue. It works well on UNIX and passes all the regression tests. However, I got bogged down trying to reproduce the special behaviors for other systems particularly the various Windows platforms. I will make another attempt this weekend.