[Toybox] mkpasswd crashes in github ci
Rob Landley
rob at landley.net
Fri Jun 6 21:05:40 PDT 2025
On 6/5/25 08:51, enh wrote:
> doesn't affect android's build because we don't build mkpasswd, but
> the mkpasswd tests are failing on github with sigsegv:
Sigh, the updated the ASAN plumbing, didn't they?
https://landley.net/notes-2024.html#04-07-2024
When you enable ASAN on current gcc toolchains, crypt() drops out and
becomes a NULL pointer dereference. I don't know why. I need to put a
crypt() implementation in lib/hash.c.
If you disable ASAN, the tests pass just fine. ASAN is what breaks them.
Rob
More information about the Toybox
mailing list