Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2011 16:40:44 +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:  <201105231641.p4NGf1jc029151@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jh          2011-05-23 16:40:44 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_environment.c 
  Log:
  SVN rev 222216 on 2011-05-23 16:40:44Z by jh
  
  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
  MFC after:      1 month
  
  Revision  Changes    Path
  1.56      +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?201105231641.p4NGf1jc029151>