From: Julia Lawall Date: Thu, 17 Dec 2009 13:57:33 +0000 (+0000) Subject: USB: wusb: check CHID is all zeros before stopping the host X-Git-Tag: v2.6.34-rc1~215^2~178 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc1d21776bb012e41ed062c6d842cfe7c82998a;p=pandora-kernel.git USB: wusb: check CHID is all zeros before stopping the host An incorrect sizeof() resulted in only 4 (or 8) octets of the CHID being checked instead of all 16 octets. A randomly generated CHID had a probability of being unable to start a WUSB host of less than 1 in 2 billion. Signed-off-by: Julia Lawall Signed-off-by: David Vrabel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed