From: Roel Kluin Date: Tue, 24 Mar 2009 03:27:48 +0000 (+0000) Subject: ctcm: avoid wraparound in length of incoming data X-Git-Tag: v2.6.30-rc1~662^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8585fc3f9b39153e0bdaf03f00a02dde9c03c6;p=pandora-kernel.git ctcm: avoid wraparound in length of incoming data Since the receive code should tolerate any incoming garbage, it should be protected against a potential wraparound when manipulating length values within incoming data. block_len is unsigned, so a too large subtraction will cause a wraparound. Signed-off-by: Roel Kluin Signed-off-by: Ursula Braun Signed-off-by: David S. Miller --- Reading git-diff-tree failed