Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 11:21:08 -0700 (PDT)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/pkg_install/create main.c src/usr.sbin/pkg_install/info main.c
Message-ID:  <200110151821.f9FIL8t23756@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
sobomax     2001/10/15 11:21:08 PDT

  Modified files:
    usr.sbin/pkg_install/create main.c 
    usr.sbin/pkg_install/info main.c 
  Log:
  Use strncpy(3) instead of strcpy(3) to copy optarg into a fixed-sized buffer.
  
  Prompted by:	dd
  MFC after:	2 weeks
  
  Revision  Changes    Path
  1.29      +1 -1      src/usr.sbin/pkg_install/create/main.c
  1.34      +1 -1      src/usr.sbin/pkg_install/info/main.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?200110151821.f9FIL8t23756>