diff options
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r-- | source3/passdb/passdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 48424b5fa2..404163c67b 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -283,7 +283,9 @@ BOOL pdb_gethexpwd(char *p, unsigned char *pwd) unsigned char lonybble, hinybble; char *hexchars = "0123456789ABCDEF"; char *p1, *p2; - + + if (!p) return (False); + for (i = 0; i < 32; i += 2) { hinybble = toupper(p[i]); |