[Spice-commits] Changes to 'rebase/spice-next'

Gerd Hoffmann kraxel at kemper.freedesktop.org
Mon Jan 19 22:55:19 PST 2015


New branch 'rebase/spice-next' available with the following commits:
commit 9dcc410e6f843038b70098c8a71a5844a4ac2f5a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Jan 15 12:06:16 2015 +0100

    spice: fix coverity reported defect in display code
    
    Report:
    
    1. Condition surface, taking false branch
    406    if (surface && ssd->surface &&
    407        surface_width(surface) == pixman_image_get_width(ssd->surface) &&
    408        surface_height(surface) == pixman_image_get_height(ssd->surface)) {
    409        /* no-resize fast path: just swap backing store */
    ...
    
    10. alias_transfer: Assigning: ssd->ds = surface.
    440    ssd->ds = surface;
    
    11. var_deref_op: Dereferencing null pointer ssd->ds.
    CID 1264334 (#1 of 1): Dereference after null check (FORWARD_NULL)
    441    ssd->surface = pixman_image_ref(ssd->ds->image);
    
    Fix:
    
    Move code block dereferencing ssd->ds into the already existing
    if (ssd->ds) { ... } block.
    
    Cc: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 6bd15f4a60e50609cb75118a3978516d2f718a96
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Tue Jan 13 17:57:51 2015 +0100

    spice: add unix address support
    
    Teach qemu to set up a Spice server with a UNIX socket using the
    following arguments -spice unix,addr=path.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>



More information about the Spice-commits mailing list