Date: Sat, 19 Aug 2023 02:07:02 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273207] pf_syncookie_mac for IPv6 random cause panic Message-ID: <bug-273207-227-sOg8GYOELI@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-273207-227@https.bugs.freebsd.org/bugzilla/> References: <bug-273207-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273207 --- Comment #16 from Rin Cat <dev@rincat.ch> --- Not sure what's happened,=20 SipHash_Update(&ctx, pd->src, sizeof(pd->src->v6)); pd->src (struct pf_addr *) 0xfffff8010a3cae6e become (const uint8_t *) 0x0 in SipHash_Update Before=20 if (ctx->buflen > 0 || len < 8) len -=3D SipBuf(ctx, &s, len, 0); And you cannot copy from NULL. bcopy(*src, &ctx->buf.b8[ctx->buflen], x); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273207-227-sOg8GYOELI>