Date: Wed, 13 Jul 2011 06:20:00 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_environment.c Message-ID: <201107130620.p6D6KHUG015805@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jh 2011-07-13 06:20:00 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/kern kern_environment.c
Log:
SVN rev 223977 on 2011-07-13 06:20:00Z by jh
MFC r222216:
In init_dynamic_kenv(), ignore environment strings exceeding the
KENV_MNAMELEN + 1 + KENV_MVALLEN + 1 length limit to avoid buffer
overflow in getenv(). Currenly loader(8) doesn't limit the length of
environment strings.
PR: kern/132104
Revision Changes Path
1.52.2.2 +7 -1 src/sys/kern/kern_environment.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107130620.p6D6KHUG015805>
