This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nss/22530] FAIL: nss/bug17079 due to _nss_sss_getpwuid_r
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 29 Nov 2017 18:25:42 +0000
- Subject: [Bug nss/22530] FAIL: nss/bug17079 due to _nss_sss_getpwuid_r
- Auto-submitted: auto-generated
- References: <bug-22530-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22530
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at redhat dot com
--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
241 enum nss_status _nss_sss_getpwuid_r(uid_t uid, struct passwd *result,
242 char *buffer, size_t buflen, int
*errnop)
243 {
244 struct sss_cli_req_data rd;
245 struct sss_nss_pw_rep pwrep;
246 uint8_t *repbuf;
247 size_t replen, len;
248 uint32_t num_results;
249 enum nss_status nret;
250 uint32_t user_uid;
251 int ret;
252
253 /* Caught once glibc passing in buffer == 0x0 */
254 if (!buffer || !buflen) return ERANGE;
This is a bug in sssd. It can't return ERANGE since that's not a valid
nss_status enumeration.
--
You are receiving this mail because:
You are on the CC list for the bug.