mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 21:47:45 +00:00
STABLE14-fpq-bulk-free-math-error-20051101
fix a math error here (cherry picked from commit e2c497b0368b13e84e6a6404c3761e28d40f2119)
This commit is contained in:
parent
0fe67fa05c
commit
2560315f69
@ -2548,7 +2548,7 @@ rxi_PrepareSendPacket(register struct rx_call *call,
|
||||
queue_Init(&q);
|
||||
|
||||
/* Free any extra elements in the wirevec */
|
||||
for (j = MAX(2, i), nb = j - p->niovecs; j < p->niovecs; j++) {
|
||||
for (j = MAX(2, i), nb = p->niovecs - j; j < p->niovecs; j++) {
|
||||
queue_Append(&q,RX_CBUF_TO_PACKET(p->wirevec[j].iov_base, p));
|
||||
}
|
||||
if (nb)
|
||||
|
Loading…
x
Reference in New Issue
Block a user