Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 13:18:22 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/sysctl sysctl.c
Message-ID:  <200211122118.gACLIMmC019255@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2002/11/12 13:18:22 PST

  Modified files:
    sbin/sysctl          sysctl.c 
  Log:
  Fix a "bug" in sysctl(8).  Limit the length when we print a string from
  the kernel rather than ignoring the length and keeping on going till we
  finally hit a \0 character in the buffer.
  
  Revision  Changes    Path
  1.48      +1 -1      src/sbin/sysctl/sysctl.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211122118.gACLIMmC019255>