Changeset 5704
Avoid accessing beyond the end of the iov list in cw_writev_all
Comitted by:
mjagdis
Date:
Jun 04 2010 * 23:10 (about 1 year ago)
Affected files:
callweaver/trunk/corelib/utils.c (unified diff)
| r5680 | r5704 | |
|---|---|---|
| 67 | 67 | |
| 68 | 68 | written += n; |
| 69 | 69 | |
| 70 | while (x >= iov[0].iov_len) { | |
| 70 | while (x && x >= iov[0].iov_len) { | |
| 71 | 71 | x -= iov[0].iov_len; |
| 72 | 72 | count--; |
| 73 | 73 | iov++; |
![Home changeset 5704 [home]](/images/logo.png?1180520111)

RSS Feeds