lkml.org 
[lkml]   [1996]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectcsum_partial_copy_unaligned
Date
From


I was looking at csum_partial_copy_unaligned in patch 2.0.6

Since I want to got blind ;-)


length is signed, I didn't look at this too carefully but

if(len >= 0) {
stuff
} else if(len & 7) {
more stuff
}

The second if will never execute unless len < 0.

marty leisner@sdsp.mc.xerox.com
Member of the League for Programming Freedom (http://www.lpf.org)
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.063 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site