tech-userlevel archive

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

Re: possible opendir bug?



On 11.07.2021 08:50, Martin Husemann wrote:
> On Sun, Jul 11, 2021 at 12:47:53AM -0400, Mouse wrote:
>> I'm not sure to what extent use of uninitialized memory is considered a
>> bug when, as here, the code is correct regardless of what value it
>> contains.
> 
> It is a bug (and should be detected in builds with proper -fsanitize=
> compiler options in -current at least). Do you have a reproducer
> handy?
> 
> Martin
> 

Generally bugs inside libc / libpthread / libm / librt are invisible to
ASan and MSan.


Home | Main Index | Thread Index | Old Index