mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 05:49:59 -04:00
fixed new warning with previous iOS patch
(cherry picked from commit 70676a01eb)
This commit is contained in:
parent
bfb96a9bb8
commit
4e69e1d072
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ hex_dump(isc_buffer_t *b) {
|
|||
*/
|
||||
static isc_result_t
|
||||
append(const char *text, size_t len, char **p, char *end) {
|
||||
if (len > end - *p)
|
||||
if (*p + len > end)
|
||||
return (ISC_R_NOSPACE);
|
||||
memmove(*p, text, len);
|
||||
*p += len;
|
||||
|
|
|
|||
Loading…
Reference in a new issue