Hi,

Can you make this change and see if it helps?

Index: rpcb_svc_com.c
===================================================================
--- rpcb_svc_com.c      (revision 288421)
+++ rpcb_svc_com.c      (working copy)
@@ -1052,7 +1052,7 @@ static bool_t
 netbuf_copybuf(struct netbuf *dst, const struct netbuf *src)
 {

-       assert(dst->buf == NULL);
+       assert(dst->len == 0 || dst->buf == NULL);

        if ((dst->buf = malloc(src->len)) == NULL)
                return (FALSE);

Cheers,
-- 
Xin LI <[email protected]>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to