On 08/04/2017 10:32 AM, Eric Blake wrote:
> On 08/04/2017 07:45 AM, Markus Armbruster wrote:
>> Markus Armbruster writes:
>>
>>> bdrv_getlength() can fail. The uses in qcow.c don't check. Is that
>>> safe?
>>
>> There's another one in qcow2_co_pwritev_compressed().
>>
>> Yet
On 08/04/2017 07:45 AM, Markus Armbruster wrote:
> Markus Armbruster writes:
>
>> bdrv_getlength() can fail. The uses in qcow.c don't check. Is that
>> safe?
>
> There's another one in qcow2_co_pwritev_compressed().
>
> Yet another one in dump_refcounts().
>
> While we're
bdrv_getlength() can fail. The uses in qcow.c don't check. Is that
safe?
Markus Armbruster writes:
> bdrv_getlength() can fail. The uses in qcow.c don't check. Is that
> safe?
There's another one in qcow2_co_pwritev_compressed().
Yet another one in dump_refcounts().
While we're talking: the one in qcow2_measure() assigns to a variable of
type
Markus Armbruster writes:
> bdrv_getlength() can fail. The uses in qcow.c don't check. Is that
> safe?
There's another one in vpc_open().