mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 19:10:35 +00:00
lib: Fix clang SA warnings.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
8e7702bc34
commit
8f21cf48a1
@ -182,6 +182,7 @@ imsg_get(struct imsgbuf *ibuf, struct imsg *imsg)
|
|||||||
else
|
else
|
||||||
imsg->fd = -1;
|
imsg->fd = -1;
|
||||||
|
|
||||||
|
if (imsg->data)
|
||||||
memcpy(imsg->data, ibuf->r.rptr, datalen);
|
memcpy(imsg->data, ibuf->r.rptr, datalen);
|
||||||
|
|
||||||
if (imsg->hdr.len < av) {
|
if (imsg->hdr.len < av) {
|
||||||
|
Loading…
Reference in New Issue
Block a user