Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2009 05:36:31 +0000 (UTC)
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.sbin/jexec jexec.c
Message-ID:  <200907300536.n6U5atE3098763@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jamie       2009-07-30 05:36:31 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    usr.sbin/jexec       jexec.c 
  Log:
  SVN rev 195969 on 2009-07-30 05:36:31Z by jamie
  
  Preset errno to zero before calling strtol(), so the check afterwards will
  be valid.  This is required since the malloc call from r195859 leaves
  errno in an unknown state.
  
  For STABLE-7 only, as CURRENT doesn't make this strtol call.
  
  Reported by:    Michael Butler
  Approved by:    bz (mentor)
  
  Revision  Changes    Path
  1.4.2.4   +1 -0      src/usr.sbin/jexec/jexec.c



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