cvs commit: src/sys/rpc rpcclnt.c

Matt Jacob mjacob at
Sat Jun 16 05:42:27 UTC 2007

mjacob      2007-06-16 05:42:27 UTC

  FreeBSD src repository

  Modified files:
    sys/rpc              rpcclnt.c 
  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

More information about the cvs-all mailing list