codec/color: fix segfault in freerdp_image32_copy
authorNorbert Federa <norbert.federa@thincast.com>
Tue, 3 Nov 2015 11:05:47 +0000 (12:05 +0100)
committerNorbert Federa <norbert.federa@thincast.com>
Tue, 3 Nov 2015 11:05:47 +0000 (12:05 +0100)
commit0f1cedcbb8bdf011737d0cf414fbc26b6610d069
tree28990381cd111666f9d6edac8a4922dd89f22d58
parent3d6e1fb418f64bbe7c514e2d98973c16111e38b0
codec/color: fix segfault in freerdp_image32_copy

Code path for dstBytesPerPixel == 3 moved src and dst pointers
beyond their respective buffers.
libfreerdp/codec/color.c