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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273207 --- Comment #16 from Rin Cat <dev@rincat.ch> --- Not sure what's happened, SipHash_Update(&ctx, pd->src, sizeof(pd->src->v6)); pd->src (struct pf_addr *) 0xfffff8010a3cae6e become (const uint8_t *) 0x0 in SipHash_Update Before if (ctx->buflen > 0 || len < 8) len -= SipBuf(ctx, &s, len, 0); And you cannot copy from NULL. bcopy(*src, &ctx->buf.b8[ctx->buflen], x); -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273207-227-sOg8GYOELI>
