]> code.ossystems Code Review - openembedded-core.git/commit
shadow: fix default value in SHA_get_salt_rounds()
authorMingli Yu <mingli.yu@windriver.com>
Mon, 16 Aug 2021 08:03:45 +0000 (16:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Aug 2021 08:52:18 +0000 (09:52 +0100)
commitad8c62f988017e1e4da1f5ed7fb6f4a5ce44844e
treed21dd6ed2de3e3c17cbd86cbd2a14b97afb62c54
parent3939b1923387d3bc440118ed1663d28a03a1ea5d
shadow: fix default value in SHA_get_salt_rounds()

Backport a patch [1] to fix chpasswd, gpasswd and passwd "hang" for
several minutes (10-20min) at 100% cpu usage though they finally
terminate successfully.

[1] https://github.com/shadow-maint/shadow/issues/393

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/shadow/files/0001-libmisc-fix-default-value-in-SHA_get_salt_rounds.patch [new file with mode: 0644]
meta/recipes-extended/shadow/shadow.inc