diff options
Diffstat (limited to 'nss/netgroup.c')
-rw-r--r-- | nss/netgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nss/netgroup.c b/nss/netgroup.c index f490d5b..aee9ce1 100644 --- a/nss/netgroup.c +++ b/nss/netgroup.c @@ -48,6 +48,7 @@ static nss_status_t read_netgrent( int32_t tmpint32; int type; size_t bufptr=0; + memset(result,0,sizeof(struct __netgrent)); /* read netgroup type */ READ_INT32(fp,type); if (type==NSLCD_NETGROUP_TYPE_NETGROUP) |