Re: [Qemu-devel] [PATCH] block/curl.c: Refuse to open the handle for writes.

2013-06-10 Thread Kevin Wolf
Am 10.06.2013 um 12:06 hat Richard W.M. Jones geschrieben: > From: "Richard W.M. Jones" > > Signed-off-by: Richard W.M. Jones > Signed-off-by: Fam Zheng > --- > block/curl.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/block/curl.c b/block/curl.c > index b8935fd..f1e302b 10064

[Qemu-devel] [PATCH] block/curl.c: Refuse to open the handle for writes.

2013-06-10 Thread Richard W.M. Jones
This simple patch avoids a segfault in qemu if the user tries to open a curl disk for writing. This was previously part of Fam Zheng's curl patch series, but it stands alone and we shouldn't forget about it. Rich.

[Qemu-devel] [PATCH] block/curl.c: Refuse to open the handle for writes.

2013-06-10 Thread Richard W.M. Jones
From: "Richard W.M. Jones" Signed-off-by: Richard W.M. Jones Signed-off-by: Fam Zheng --- block/curl.c | 4 1 file changed, 4 insertions(+) diff --git a/block/curl.c b/block/curl.c index b8935fd..f1e302b 100644 --- a/block/curl.c +++ b/block/curl.c @@ -406,6 +406,10 @@ static int curl_op

Re: [Qemu-devel] [PATCH] block/curl.c: Refuse to open the handle for writes.

2013-05-22 Thread Fam Zheng
On Wed, 05/22 16:01, Richard W.M. Jones wrote: > From: "Richard W.M. Jones" > > --- > block/curl.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/block/curl.c b/block/curl.c > index b8935fd..f1e302b 100644 > --- a/block/curl.c > +++ b/block/curl.c > @@ -406,6 +406,10 @@ static int

[Qemu-devel] [PATCH] block/curl.c: Refuse to open the handle for writes.

2013-05-22 Thread Richard W.M. Jones
From: "Richard W.M. Jones" --- block/curl.c | 4 1 file changed, 4 insertions(+) diff --git a/block/curl.c b/block/curl.c index b8935fd..f1e302b 100644 --- a/block/curl.c +++ b/block/curl.c @@ -406,6 +406,10 @@ static int curl_open(BlockDriverState *bs, QDict *options, int flags) s