On Thu, Jan 09, 2020 at 07:26:05PM -0500, Ted Unangst wrote: > Graham Percival wrote: > > Empirically, I can't see any problem with OpenBSD 6.4. I tested it inside > > virtualbox with 1024 and 2048 MiB of ram, compiled with -DDEBUG, and the > > output looks reasonable. For example with 2048 MiB, I get: > > So I think if you test with reduced datalimit, ulimit -d 123456, it will > result in an error when it tries to allocate too much.
Thanks for the ulimit example! I've reproduced this problem and added it as https://github.com/Tarsnap/scrypt/issues/226 Cheers, - Graham
