Date: Mon, 09 Mar 2015 19:30:22 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198465] [maintainer] x11/slim: fix access out of bound in slim Message-ID: <bug-198465-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198465 Bug ID: 198465 Summary: [maintainer] x11/slim: fix access out of bound in slim Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: henry.hu.sh@gmail.com Created attachment 154098 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D154098&action= =3Dedit fix malloc and memcpy arguments The attached patch fixes access-out-of-bound in slim. The size argument of memcpy() and malloc() is wrong when modifying environm= ent variables. Patch tested by reporter and works as intended. The problem was present, but luckily slim still works. With the new patch to support login.conf, the problematic variables are used, and the bug is triggered. Reported by: Holger Schr=C3=B6der <holgihsp@gmail.com> --=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-198465-13>