Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2011 18:59:38 +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:  <201107261859.p6QIxlMk016886@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jh          2011-07-26 18:59:38 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/kern             kern_environment.c 
  Log:
  SVN rev 224458 on 2011-07-26 18:59:38Z 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.47.2.3  +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?201107261859.p6QIxlMk016886>