diff options
Diffstat (limited to 'source/a/tcsh/tcsh-6.18.01-crypt.diff')
-rw-r--r-- | source/a/tcsh/tcsh-6.18.01-crypt.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/a/tcsh/tcsh-6.18.01-crypt.diff b/source/a/tcsh/tcsh-6.18.01-crypt.diff new file mode 100644 index 00000000..db7306e2 --- /dev/null +++ b/source/a/tcsh/tcsh-6.18.01-crypt.diff @@ -0,0 +1,11 @@ +--- tc.func.c.orig 2013-05-16 ++++ tc.func.c 2013-05-16 +@@ -733,7 +733,7 @@ auto_lock(void) + pp = xgetpass("Password:"); + + crpp = XCRYPT(pw, pp, srpp); +- if ((strcmp(crpp, srpp) == 0) ++ if ((crpp && (strcmp(crpp, srpp) == 0)) + #ifdef AFS + || (ka_UserAuthenticateGeneral(KA_USERAUTH_VERSION, + afsname, /* name */ |