[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] Function argument corruption in 4.2.0

From: Andrew J. Schorr
Subject: Re: [bug-gawk] Function argument corruption in 4.2.0
Date: Sun, 12 Nov 2017 18:31:51 -0500
User-agent: Mutt/1.5.21 (2010-09-15)


On Sun, Nov 12, 2017 at 11:55:11AM -0800, Eric Pruitt wrote:
> I've run into a problem with GAWK 4.2.0 where a function argument gets
> corrupted. Here's an example showing the output in 4.2.0 compared to
> 4.1.4:

Thanks for the bug report. Did you try running under valgrind by any chance?

> I've observed the corruption building against glibc
> and musl libc. Unfortunately I haven't been able to create a simplified
> test case or figure out which commit introduced the issue using "git
> bisect run"

Why didn't git bisect work? That seems like a sensible first step.

> I am happy to provide a
> copy of the mdlint script and the test case data if someone is willing
> to dig into the code. It depends on the cmark binary
> (https://github.com/commonmark/cmark), but that could be mocked out
> easily enough with something like "cat $OUTPUT_OF_CMARK".

If it's possible to provide the source code, input, and expected output, that
would make it a lot easier to debug this...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]