[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <48161D99.5070303@trash.net>
Date: Mon, 28 Apr 2008 20:55:21 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: linux-crypto@...r.kernel.org,
Linux Netdev List <netdev@...r.kernel.org>
Subject: [RFC XFRM]: esp: fix scatterlist of out bounds access with crypto_eseqiv
I ran into occasional BUGs in scatterlist.h, which turned
out the be caused by accessing an uninitialized scatterlist
entry from eseqiv. I'm not sure whether this patch is correct
since I'm seeing invalid packets with and without this patch
(probably related to HIFN though) and I don't understand why
scatterwalk_sg_next() returns either a scatterlist or a
struct page dependant on the length, but at least it fixes
the BUG() for me :)
View attachment "x" of type "text/plain" (3278 bytes)
Powered by blists - more mailing lists