Displaying 2 results from an estimated 2 matches for "nbd_negotiate_simple_meta_context".
2019 Mar 23
4
nbdkit & qemu 2.12: qemu-img: Protocol error: simple reply when structured reply chunk was expected
...--------------------------------------------------------
89aa0d87634e2cb98517509dc8bdb876f26ecf8b is the first bad commit
commit 89aa0d87634e2cb98517509dc8bdb876f26ecf8b
Author: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Date:   Fri Apr 27 17:20:01 2018 +0300
    nbd/client: fix nbd_negotiate_simple_meta_context
    
    Initialize received variable. Otherwise, is is possible for server to
    answer without any contexts, but we will set context_id to something
    random (received_id is not initialized too) and return 1, which is
    wrong.
    
    To solve it, just initialize received to false. Initiali...
2019 Mar 23
0
Re: nbdkit & qemu 2.12: qemu-img: Protocol error: simple reply when structured reply chunk was expected
...--------------------------
> 89aa0d87634e2cb98517509dc8bdb876f26ecf8b is the first bad commit
> commit 89aa0d87634e2cb98517509dc8bdb876f26ecf8b
> Author: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> Date:   Fri Apr 27 17:20:01 2018 +0300
> 
>     nbd/client: fix nbd_negotiate_simple_meta_context
>     
>     Initialize received variable. Otherwise, is is possible for server to
>     answer without any contexts, but we will set context_id to something
>     random (received_id is not initialized too) and return 1, which is
>     wrong.
>     
>     To solve it, just ini...