summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/opkg/opkg.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-04-11 15:57:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-11 16:12:00 +0100
commit06d7078f7631b92e8b789f8e94a3a346d8181ce6 (patch)
treed6be0659ffe8819f666fe47088385a56f63d674e /meta/recipes-devtools/opkg/opkg.inc
parented03b850daf223ed89f8524e22fb28e259c3286a (diff)
downloadopenembedded-core-06d7078f7631b92e8b789f8e94a3a346d8181ce6.tar.gz
openembedded-core-06d7078f7631b92e8b789f8e94a3a346d8181ce6.tar.bz2
openembedded-core-06d7078f7631b92e8b789f8e94a3a346d8181ce6.zip
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 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg.inc')
0 files changed, 0 insertions, 0 deletions