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:30 +0100 |
commit | 83cc3abf34ddffd6b59d6f7ec8da077532a32f2f (patch) | |
tree | 5f2caebb38ef1420f0b95f95554ec7dc09f06589 /scripts/oe-git-proxy | |
parent | ce960f42005ceca90cf449931291c8cab995111a (diff) | |
download | poky-83cc3abf34ddffd6b59d6f7ec8da077532a32f2f.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 'scripts/oe-git-proxy')
0 files changed, 0 insertions, 0 deletions