csum_partial_copy_unaligned

Marty Leisner (leisner@sdsp.mc.xerox.com)
Thu, 18 Jul 1996 15:57:45 PDT


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