Herbert Xu
e4630f9fd8
[CRYPTO] blkcipher: Fix handling of kmalloc page straddling
...
The function blkcipher_get_spot tries to return a buffer of
the specified length that does not straddle a page. It has
an off-by-one bug so it may advance a page unnecessarily.
What's worse, one of its callers doesn't provide a buffer
that's sufficiently long for this operation.
This patch fixes both problems. Thanks to Bob Gilligan for
diagnosing this problem and providing a fix.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2007-09-09 08:45:21 +01:00
..
2007-07-20 08:44:19 -07:00
2007-08-06 15:33:56 +08:00
2006-09-21 11:41:02 +10:00
2007-07-11 20:58:53 +08:00
2006-09-21 11:41:02 +10:00
2007-07-11 20:58:53 +08:00
2006-09-21 11:41:02 +10:00
2007-09-09 08:45:21 +01:00
2006-09-21 11:41:02 +10:00
2007-02-07 09:21:03 +11:00
2006-09-21 11:41:02 +10:00
2006-09-21 11:41:02 +10:00
2007-05-02 14:38:31 +10:00
2007-08-06 15:33:56 +08:00
2007-02-07 09:21:00 +11:00
2006-09-21 11:41:02 +10:00
2007-05-31 18:10:22 +10:00
2006-09-21 11:41:02 +10:00
2007-05-09 13:04:39 +10:00
2006-06-26 17:34:40 +10:00
2006-09-21 11:41:02 +10:00
2007-02-07 09:21:00 +11:00
2007-05-02 14:38:31 +10:00
2007-02-07 09:20:59 +11:00
2006-12-06 18:38:55 -08:00
2007-08-06 15:33:56 +08:00
2007-05-02 14:38:31 +10:00
2007-02-07 09:21:01 +11:00
2007-07-14 23:47:04 -07:00
2006-09-21 11:41:02 +10:00
2007-05-02 14:38:31 +10:00
2007-07-13 08:06:14 -07:00
2006-06-26 17:34:39 +10:00
2006-06-26 17:34:39 +10:00
2007-04-28 11:01:01 -04:00
2007-05-02 14:38:31 +10:00
2007-07-16 09:05:42 -07:00
2007-03-31 12:58:20 +10:00
2006-09-21 11:46:17 +10:00
2006-10-10 16:15:33 -07:00
2006-09-21 11:40:20 +10:00
2006-09-21 11:40:20 +10:00
2006-12-11 14:34:33 -08:00
2007-05-18 16:25:19 +10:00
2007-02-07 09:21:04 +11:00
2006-09-21 11:41:02 +10:00
2006-06-26 17:34:39 +10:00
2006-09-21 11:41:02 +10:00
2006-09-21 11:16:28 +10:00
2006-06-26 17:34:39 +10:00
2007-05-02 14:38:31 +10:00
2007-07-13 08:06:14 -07:00