Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2001 17:18:06 -0700 (PDT)
From:      Dima Dorfman <dd@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/sysinstall devices.c dispatch.c dist.c ftp.c index.c install.c installUpgrade.c media.c nfs.c package.c sysinstall.h tcpip.c
Message-ID:  <200107020018.f620I6c26744@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dd          2001/07/01 17:18:06 PDT

  Modified files:
    usr.sbin/sysinstall  devices.c dispatch.c dist.c ftp.c index.c 
                         install.c installUpgrade.c media.c nfs.c 
                         package.c sysinstall.h tcpip.c 
  Log:
  Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros.  As the
  names suggest, they perform methods on Device's.  In addition, they
  check that the pointer passed to them is valid; if it isn't, they
  pretend that the action failed.  This fixes some crashes due to NULL
  dereferences (e.g., PR 26509).
  
  Approved by:	jkh (some time ago)
  
  Revision  Changes    Path
  1.134     +2 -2      src/usr.sbin/sysinstall/devices.c
  1.37      +3 -3      src/usr.sbin/sysinstall/dispatch.c
  1.194     +11 -11    src/usr.sbin/sysinstall/dist.c
  1.44      +5 -5      src/usr.sbin/sysinstall/ftp.c
  1.92      +4 -4      src/usr.sbin/sysinstall/index.c
  1.297     +7 -6      src/usr.sbin/sysinstall/install.c
  1.76      +3 -3      src/usr.sbin/sysinstall/installUpgrade.c
  1.114     +8 -8      src/usr.sbin/sysinstall/media.c
  1.22      +3 -3      src/usr.sbin/sysinstall/nfs.c
  1.95      +4 -4      src/usr.sbin/sysinstall/package.c
  1.207     +8 -1      src/usr.sbin/sysinstall/sysinstall.h
  1.114     +2 -2      src/usr.sbin/sysinstall/tcpip.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?200107020018.f620I6c26744>