Skip to content
Snippets Groups Projects
Commit 7d47c62f authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

add hint for Coverity (Out-of-bounds access)

CID #1126132
parent acfb258c
No related branches found
No related tags found
No related merge requests found
......@@ -328,6 +328,8 @@ static int remote_c_zonestatus(server_t *s, remote_cmdargs_t* a)
break;
}
assert(n <= sizeof(buf));
memcpy(dst, buf, n);
rb -= n;
dst += n;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment