Date: Sat, 24 Jul 2021 02:06:11 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257368] ggate(d) misbehaving Message-ID: <bug-257368-227-eolSnqFI71@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-257368-227@https.bugs.freebsd.org/bugzilla/> References: <bug-257368-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=3D257368 --- Comment #5 from johannes@jo-t.de --- Truss for ggatec: debug: Received hdr packet. write(1,"debug: Received hdr packet.\n",28) =3D 28 (0x1c) recvfrom(4,0x7fffdffddf40,2147467264,MSG_WAITALL,0x0,0x0) ERR#14 'Bad addre= ss' debug: Received data packet. write(1,"debug: Received data packet.\n",29) =3D 29 (0x1d) error: Lost connection 4. Notice the bad address! It's supposed to point to a stack buffer of size 128kB. But here we are trying to dump 2 GB into it. Oops. Stack buffer overflow. See near https://github.com/freebsd/freebsd-src/blob/stable/12/sbin/ggate/ggatec/gga= tec.c#L223 --=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-257368-227-eolSnqFI71>