nss/tst-nss-files-hosts-multi

Florian Weimer fweimer@redhat.com
Mon Dec 2 10:16:17 GMT 2024


* Yury Khrustalev:

> Why does the "nss/tst-nss-files-hosts-multi" test have to use so many
> iterations and hosts?  Would it be less reliable with smaller amount
> of iterations?

If I recall correctly, the bug it tests for had triggering conditions
(line lengths, buffer sizes) that depended on pointer size.  I didn't
want to spend time on figuring out the exact triggering conditions,
hence the loop.  It's likely possible to reduce iterations considerably.

Thanks,
Florian



More information about the Libc-help mailing list