bug-bash
[Top][All Lists]
Advanced

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

Re: obscure bug "extern void free (void *__ptr) __attribute__ ((__nothro


From: Mathias Steiger
Subject: Re: obscure bug "extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));"
Date: Thu, 21 Jan 2021 23:07:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1


As such bugs are likely related to buffer issues, maybe even in underlying APIs, and since they only surface after very lengthy mysterious sequences of commands - often just on single specific system installations - I wouldn't know how you can reproduce this in a test.

Maybe you have specific testing frameworks for this, that would reduce the whole script to more basic components and which schematically remove or add complexity until the nature of the bug becomes more apparent?

This seems to call for a specialist who is able to follow the problem into a far lower level of abstraction.

As it stands now, I don't see how there is no way how this kind of execution can make any sense from a scripting POV.

Of course in a giant script, all sorts of random things might happen. But this is not one of them.



On 1/21/21 10:38 PM, Chet Ramey wrote:
On 1/21/21 4:27 PM, Mathias Steiger wrote:

No.

If you read the the rest of the bug report, it might become clearer to you.


Suppose I wrote a simple script:

     {if echo "27ac5e2f757302" >& /dev/null; then echo "yes"; else echo "no"; fi } > output

Suppose you did.

I did, after correcting the syntax errors in yours, and couldn't reproduce the problem. So if you can extract a script that exhibits the problem from the rest of the autoconf framework, I'll be glad to see if it demonstrates
a bug in bash.





reply via email to

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