diff options
Diffstat (limited to 'nss/ethers.c')
-rw-r--r-- | nss/ethers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nss/ethers.c b/nss/ethers.c index f746045..349ddab 100644 --- a/nss/ethers.c +++ b/nss/ethers.c @@ -37,6 +37,7 @@ static nss_status_t read_etherent( { int32_t tmpint32; size_t bufptr=0; + memset(result,0,sizeof(struct etherent)); READ_BUF_STRING(fp,result->e_name); READ_TYPE(fp,result->e_addr,uint8_t[6]); return NSS_STATUS_SUCCESS; |