Lines 5233-5238
nfsrpc_createsession(struct nfsmount *nmp, struct nfsc
Link Here
|
5233 |
sep->nfsess_foreslots = fxdr_unsigned(uint16_t, *tl++); |
5233 |
sep->nfsess_foreslots = fxdr_unsigned(uint16_t, *tl++); |
5234 |
NFSCL_DEBUG(4, "fore slots=%d\n", (int)sep->nfsess_foreslots); |
5234 |
NFSCL_DEBUG(4, "fore slots=%d\n", (int)sep->nfsess_foreslots); |
5235 |
irdcnt = fxdr_unsigned(int, *tl); |
5235 |
irdcnt = fxdr_unsigned(int, *tl); |
|
|
5236 |
if (irdcnt < 0 || irdcnt > 1) { |
5237 |
error = NFSERR_BADXDR; |
5238 |
goto nfsmout; |
5239 |
} |
5236 |
if (irdcnt > 0) |
5240 |
if (irdcnt > 0) |
5237 |
NFSM_DISSECT(tl, uint32_t *, irdcnt * NFSX_UNSIGNED); |
5241 |
NFSM_DISSECT(tl, uint32_t *, irdcnt * NFSX_UNSIGNED); |
5238 |
|
5242 |
|