Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2010 17:24:32 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/geom/class/part geom_part.c
Message-ID:  <201012211740.oBLHe2cf050310@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ae          2010-12-21 17:24:32 UTC

  FreeBSD src repository

  Modified files:
    sbin/geom/class/part geom_part.c 
  Log:
  SVN rev 216619 on 2010-12-21 17:24:32Z by ae
  
  Check number of arguments before trying to read arg0. This prevents access
  to arg0 and dumping core when `gpart bootcode` called without arguments.
  
  Revision  Changes    Path
  1.42      +2 -0      src/sbin/geom/class/part/geom_part.c



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