Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4352b47a authored by Marek Marczykowski's avatar Marek Marczykowski Committed by Konrad Rzeszutek Wilk
Browse files

xen-blkfront: fix data size for xenbus_gather in blkfront_connect



barrier variable is int, not long. This overflow caused another variable
override: "err" (in PV code) and "binfo" (in xenlinux code -
drivers/xen/blkfront/blkfront.c). The later caused incorrect device
flags (RO/removable etc).

Signed-off-by: default avatarMarek Marczykowski <marmarek@mimuw.edu.pl>
Acked-by: default avatarIan Campbell <Ian.Campbell@citrix.com>
[v1: Changed title]
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent edc83d47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment