git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
724a529
)
Set num_validated_users to zero if Realloc fails.
author
Samba Release Account
<samba-bugs@samba.org>
Sat, 9 Nov 1996 01:56:20 +0000
(
01:56
+0000)
committer
Samba Release Account
<samba-bugs@samba.org>
Sat, 9 Nov 1996 01:56:20 +0000
(
01:56
+0000)
(This used to be commit
57121e609e927d16389793c7969f5fb944c7669d
)
source3/smbd/password.c
patch
|
blob
|
history
diff --git
a/source3/smbd/password.c
b/source3/smbd/password.c
index 4f9f91d76d06a4a4c15c123df1dfb38b5095cc2b..9b06e0dcb52a10e6b609a399bdc31dd9e23757ac 100644
(file)
--- a/
source3/smbd/password.c
+++ b/
source3/smbd/password.c
@@
-152,6
+152,7
@@
uint16 register_vuid(int uid,int gid, char *name,BOOL guest)
if (!validated_users)
{
DEBUG(0,("Failed to realloc users struct!\n"));
+ num_validated_users = 0;
return UID_FIELD_INVALID;
}