mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
[BZ #9781]
* grp/compat-initgroups.c (compat_call): Switch to use malloc when the input line is too long.
This commit is contained in:
@ -96,10 +96,9 @@ __res_maybe_init (res_state resp, int preinit)
|
||||
{
|
||||
if (resp->options & RES_INIT) {
|
||||
if (__res_initstamp != resp->_u._ext.initstamp) {
|
||||
if (resp->nscount > 0) {
|
||||
if (resp->nscount > 0)
|
||||
__res_iclose (resp, true);
|
||||
return __res_vinit (resp, 1);
|
||||
}
|
||||
return __res_vinit (resp, 1);
|
||||
}
|
||||
return 0;
|
||||
} else if (preinit) {
|
||||
|
Reference in New Issue
Block a user