Date: Sat, 05 Nov 2016 08:42:50 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 214237] Stack buffer lifetime mis-use in ncal(1) Message-ID: <bug-214237-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214237 Bug ID: 214237 Summary: Stack buffer lifetime mis-use in ncal(1) Product: Base System Version: 10.3-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: J.deBoynePollard-newsgroups@NTLWorld.COM The buffer used to obtain the standout start and standout end sequences from termcap is used long after its lifetime has ended, and potentially something else has written to that area of stack storage. The fix is to adjust line 1113 of usr.bin/ncal/ncal.c to static char cbuf[512]; char tbuf[1024], *b; --=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-214237-8>