smbd core dump on usrmgr.exe: PATCH
Alex Deiter
tiamat at komi.mts.ru
Fri May 16 10:20:18 GMT 2003
I receive core dump at attempt to open properties of the user in usrmgr.exe.
It occurs, when the user is not a member of any group, i.e. num_groups == 0
(in rpc_server/srv_util.c )
patch:
--- rpc_server/srv_util.c.orig Fri May 16 13:14:14 2003
+++ rpc_server/srv_util.c Fri May 16 14:12:12 2003
@@ -194,7 +194,7 @@
break;
}
- free(groups);
+ if(num_groups) free(groups);
/* now check for the user's gid (the primary group rid) */
for (i=0; i<cur_rid && grid!=rids[i]; i++)
Thanks!
More information about the samba-technical
mailing list