[PATCH] Change memcpy to memmove in fbBlt

2012-05-30 Thread Michal Srb
In case of horizontal blitting of less than width of blitted area, memcpy is used on overlapping areas which is not allowed. The behavior is undefined in such case, probably leading to graphical artifact when blitting in specific direction. --- fb/fb.h| 14 ++ fb/fbblt.c |4

Re: [PATCH] Change memcpy to memmove in fbBlt

2012-05-30 Thread Matt Turner
On Wed, May 30, 2012 at 10:23 AM, Michal Srb m...@suse.com wrote: In case of horizontal blitting of less than width of blitted area, memcpy is used on overlapping areas which is not allowed. The behavior is undefined in such case, probably leading to graphical artifact when blitting in