Skip to content
  • Ray Strode's avatar
    vnc-pipewire-stream: Correct memcpy size calculation · 673cc764
    Ray Strode authored and Jonas Ådahl's avatar Jonas Ådahl committed
    commit 78c5bcb1 introduced code
    to try to account for a row stride mismatch between source and
    destination.
    
    That commit, however, erroneously copies destination stride bytes
    from the source, which will lead to out of bounds access if the
    source has a smaller row stride.
    
    This commit addresses the problem, by instead, copying just the
    pixel data, and none of the row margin.
    
    !18
    673cc764