DO NOT MERGE - Merge Android R QPR1
Bug: 172690556 Merged-In: I82b606f10035eae94aeb06f41070068ec1ec0ca3 Change-Id: Ibe54a05302d18a7ed00b7d823daa708a6abdd3f8
This commit is contained in:
commit
c93f359db2
1 changed files with 3 additions and 1 deletions
|
@ -948,6 +948,8 @@ send_vc(res_state statp, struct __res_params* params,
|
|||
else
|
||||
break;
|
||||
}
|
||||
// return size should never exceed container size
|
||||
resplen = anssiz;
|
||||
}
|
||||
/*
|
||||
* If the calling applicating has bailed out of
|
||||
|
@ -960,7 +962,7 @@ send_vc(res_state statp, struct __res_params* params,
|
|||
DprintQ((statp->options & RES_DEBUG) ||
|
||||
(statp->pfcode & RES_PRF_REPLY),
|
||||
(stdout, ";; old answer (unexpected):\n"),
|
||||
ans, (resplen > anssiz) ? anssiz: resplen);
|
||||
ans, resplen);
|
||||
goto read_len;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue