auth-bozo.c | 56 char dir[MAXPATHLEN], authfile[MAXPATHLEN], *basename; local in function:bozo_auth_check 77 if ((size_t)snprintf(authfile, sizeof(authfile), "%s/%s", dir, 78 AUTH_FILE) >= sizeof(authfile)) { 80 "authfile path too long"); 82 if (stat(authfile, &sb) < 0) { 84 "bozo_auth_check realm `%s' dir `%s' authfile `%s' missing", 85 dir, file, authfile)); 88 if ((fp = fopen(authfile, "r")) == NULL) 90 "no permission to open authfile"); [all...] |