Searched refs:groupbuf (Results 1 – 1 of 1) sorted by relevance
47 int32_t groupbuf[GR_LEN] = {0}; in __getgr_a() local64 f = __nscd_query(req, key, groupbuf, sizeof groupbuf, &swap); in __getgr_a()67 if (!groupbuf[GRFOUND]) { rv = 0; goto cleanup_f; } in __getgr_a()69 if (!groupbuf[GRNAMELEN] || !groupbuf[GRPASSWDLEN]) { in __getgr_a()74 if (groupbuf[GRNAMELEN] > SIZE_MAX - groupbuf[GRPASSWDLEN]) { in __getgr_a()78 len = groupbuf[GRNAMELEN] + groupbuf[GRPASSWDLEN]; in __getgr_a()80 for (i = 0; i < groupbuf[GRMEMCNT]; i++) { in __getgr_a()113 if (groupbuf[GRMEMCNT] + 1 > *nmem) { in __getgr_a()114 if (groupbuf[GRMEMCNT] + 1 > SIZE_MAX/sizeof(char*)) { in __getgr_a()118 char **tmp = realloc(*mem, (groupbuf[GRMEMCNT]+1)*sizeof(char*)); in __getgr_a()[all …]