Re: possible opendir bug?

2021-07-10 Thread Martin Husemann
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 i

possible opendir bug?

2021-07-10 Thread Mouse
This looks to me like a bug, but it's currently concealed; I'm not sure to what extent NetBSD considers such things bugs. I noticed this in 1.4T, but, on reading the source, it looks to me as though 9.1 has the same issue. (I got my SPARC emulator to the point where it can do valgrind-style track