diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-11 22:58:16 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-11 22:58:16 -0700 |
| commit | fb14ef35baa4128d8ead9729678a251c5ea50559 (patch) | |
| tree | 408b5d41d1ea0e435418eb2dc2b28bc52e2b5b24 /scripts | |
| parent | b1ee3feafbe4f538ce4d65412d6bc9e83a96ee80 (diff) | |
[PATCH] readv/writev range checking fix
do-readv_writev() is trying to fail if
a) any of the segments have a length < 0 or
b) the sum of the segments wraps negative.
But it gets b) wrong because local variable tot_len is unsigned.
Fix that up.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
