]> Pileus Git - ~andy/linux/commit
9p: BUG before corrupting memory
authorSasha Levin <levinsasha928@gmail.com>
Mon, 11 Jun 2012 15:18:13 +0000 (10:18 -0500)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 11 Jun 2012 15:29:07 +0000 (10:29 -0500)
commit5fcb08befaf57faa1b00e514915c1660252b8c26
tree54abef34e956941690032cb34fdc75ecd463c830
parent4e3c8a1b1c63482403e9d5e3148dee1a711e4b91
9p: BUG before corrupting memory

The BUG_ON() in pack_sg_list() would get triggered only one time after we've
corrupted some memory by sg_set_buf() into an invalid sg buffer.

I'm still working on figuring out why I manage to trigger that bug...

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/trans_virtio.c