git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdfba23
)
nss_wrapper: Fixed a possible NULL pointer problem.
author
Andreas Schneider
<asn@samba.org>
Mon, 7 Jun 2010 07:30:29 +0000
(09:30 +0200)
committer
Andreas Schneider
<asn@samba.org>
Mon, 28 Jun 2010 08:18:12 +0000
(10:18 +0200)
lib/nss_wrapper/nss_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/nss_wrapper/nss_wrapper.c
b/lib/nss_wrapper/nss_wrapper.c
index ee65350208ef9d3c4d1fba2e6f8e63c99e930734..42fc4cfb0267a6910dbd314b03646a536fe4a486 100644
(file)
--- a/
lib/nss_wrapper/nss_wrapper.c
+++ b/
lib/nss_wrapper/nss_wrapper.c
@@
-2172,7
+2172,7
@@
_PUBLIC_ int nwrap_getgrouplist(const char *user, gid_t group, gid_t *groups, in
struct group *grp;
gid_t *groups_tmp;
int count = 1;
- const char *name_of_group =
NULL
;
+ const char *name_of_group =
""
;
if (!nwrap_enabled()) {
return real_getgrouplist(user, group, groups, ngroups);