diff options
author | Ross Burton <ross.burton@intel.com> | 2013-04-11 15:57:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-11 16:12:24 +0100 |
commit | 2d94f1bde7c63b56b33bef34573211ecbeffaf44 (patch) | |
tree | ccb56fa04a74b9088696602fd0a7be27f3d411dd /meta-skeleton | |
parent | 230441f0c85e6b46fa0814c7be20057107f75fc7 (diff) | |
download | poky-2d94f1bde7c63b56b33bef34573211ecbeffaf44.tar.gz |
sudo: handle glibc 2.17 crypt semantics
Staring from glibc 2.17 the crypt() function will error out and return NULL if
the seed or "correct" is invalid. The failure case for this is the sudo user
having a locked account in /etc/shadow, so their password is "!", which is an
invalid hash. crypt() never returned NULL previously so this is crashing in
strcmp().
[ YOCTO #4241 ]
(From OE-Core rev: 06d7078f7631b92e8b789f8e94a3a346d8181ce6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions