VirtualBox

Changeset 51192 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
May 6, 2014 9:10:23 AM (11 years ago)
Author:
vboxsync
Message:

Runtime/r3/linux: better handle user accounts with empty passwords -- fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp

    r51180 r51192  
    118118     * but the user does not have one assigned. */
    119119    int fCorrect = !pszPasswd || !*pszPasswd;
    120     if (pw->pw_passwd)
     120    if (pw->pw_passwd && *pw->pw_passwd)
    121121    {
    122122        struct crypt_data *data = (struct crypt_data*)RTMemTmpAllocZ(sizeof(*data));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette