mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 09:43:32 +08:00
Fix PLT use in getnetgrent_r
This commit is contained in:
parent
12cc2fcdb4
commit
a843a204a3
@ -1,5 +1,8 @@
|
||||
2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
|
||||
of rawmemchr.
|
||||
|
||||
* sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
|
||||
|
||||
2011-10-09 Ulrich Drepper <drepper@gmail.com>
|
||||
|
@ -250,11 +250,11 @@ nscd_getnetgrent (struct __netgrent *datap, char *buffer, size_t buflen,
|
||||
|
||||
datap->type = triple_val;
|
||||
datap->val.triple.host = datap->cursor;
|
||||
datap->cursor = (char *) rawmemchr (datap->cursor, '\0') + 1;
|
||||
datap->cursor = (char *) __rawmemchr (datap->cursor, '\0') + 1;
|
||||
datap->val.triple.user = datap->cursor;
|
||||
datap->cursor = (char *) rawmemchr (datap->cursor, '\0') + 1;
|
||||
datap->cursor = (char *) __rawmemchr (datap->cursor, '\0') + 1;
|
||||
datap->val.triple.domain = datap->cursor;
|
||||
datap->cursor = (char *) rawmemchr (datap->cursor, '\0') + 1;
|
||||
datap->cursor = (char *) __rawmemchr (datap->cursor, '\0') + 1;
|
||||
|
||||
return NSS_STATUS_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user