mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 14:00:00 -04:00
fixed new warning with previous iOS patch
(cherry picked from commit 70676a01eb)
This commit is contained in:
parent
4f1073e7b2
commit
0359dfcf63
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,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