Roel Kluin fb8585fc3f 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 <roel.kluin@gmail.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-24 15:24:30 -07:00
..
2009-01-06 10:44:34 -08:00
2009-01-06 10:44:34 -08:00
2005-04-16 15:20:36 -07:00
2009-01-06 10:44:34 -08:00
2008-07-14 10:02:09 +02:00
2008-12-25 13:39:00 +01:00