[Spice-devel] Question on fill_mask() (server/red_worker.c)

Yaniv Kaul ykaul at redhat.com
Tue Oct 4 03:40:21 PDT 2011


Unless I'm misreading the code (which may very well be), the function 
looks like:

if (mask_bitmap && m) {
     if (this or that) {
         do X
         fill_bits(...)
     } else {
         fill_bits(...)
     }
}

So essentially, if the condition (mask_bitmap && m) is NOT met, we do 
not fill the bits. Which means we are sending garbage over the wire?
Y.



More information about the Spice-devel mailing list