Print this page
NEX-14051 Be careful with RPC groups
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
8085 Handle RPC groups better
Reviewed by: "Joshua M. Clulow" <josh@sysmgr.org>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Dan McDonald <danmcd@omniti.com>

*** 318,327 **** --- 318,329 ---- struct dqblk dqblk; struct fsquot *fsqp; struct timeval tv; bool_t qactive; + CTASSERT(sizeof (authp) <= RQCRED_SIZE); + gqa.gqa_pathp = NULL; /* let xdr allocate the storage */ if (!svc_getargs(transp, xdr_getquota_args, (caddr_t)&gqa)) { svcerr_decode(transp); return; }