[PATCH] sha3sum: New applet, v2
Lauri Kasanen
curaga at operamail.com
Tue Jan 8 14:25:15 UTC 2013
> A pessimized build give the exact same result. Details below:
Thanks Baruch. It's as I thought - something gives it wrong arguments.
See here:
> #1 0x1009dab4 in sha3_hash (state=0xbfca1fc0, data=0x101cafd0 "",
> bytes=21474836485)
> at libbb/hash_md5_sha.c:1055
bytes is 20 Gb (!), yet the memory pointed to by data is a few bytes
long only.
I think I know why, size_t on your platform is not 64-bit, will post a
v3 soon.
- Lauri
--
http://www.fastmail.fm - A fast, anti-spam email service.
More information about the busybox
mailing list