Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2007 05:42:27 +0000 (UTC)
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/rpc rpcclnt.c
Message-ID:  <200706160542.l5G5gRGF092145@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mjacob      2007-06-16 05:42:27 UTC

  FreeBSD src repository

  Modified files:
    sys/rpc              rpcclnt.c 
  Log:
  Check for a NULL return from rpcclnt_buildheader- it can fail if
  the passed in auth_type is unacceptable to rpcauth_buildheader-
  this avoids a null pointer panic. Clean up allocations if this
  happens. This also quiets a gcc 4.2 complaint about ussing mheadend
  without it being initialized.
  
  Reviewed by:    alfred
  
  Revision  Changes    Path
  1.19      +13 -0     src/sys/rpc/rpcclnt.c



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