NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/55979 (sh single quotes removes nul characters)
The following reply was made to PR bin/55979; it has been noted by GNATS.
From: Kamil Rytarowski <kamil%netbsd.org@localhost>
To: Kamil Rytarowski <kamil%netbsd.org@localhost>, Robert Elz <kre%munnari.OZ.AU@localhost>,
gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/55979 (sh single quotes removes nul characters)
Date: Wed, 10 Feb 2021 18:39:51 +0100
On 10.02.2021 18:37, Kamil Rytarowski wrote:
> On the other hand, when evalcommand() calls shellexec() it does pass
> cmdentry.u.index (a field in a union in the struct) as one of the parameters,
> but if that is the uninit'd value, I'd have expected it to be detected
> where it is fetched (in evalcommand()) rather than where the value is used.
MSan detects uninitialized memory read once it is used, not once it is
fetched.
Home |
Main Index |
Thread Index |
Old Index