Description of problem: Scrolling to right in Battle of Wesnoth causes visual corruption because SSE3 memcpy operates from end to begin Version-Release number of selected component (if applicable): 1.2.14 How reproducible: Scroll right in game view in battle of wesnoth Actual results: Map area gets corrupted Expected results: Scrolling works correctly Additional info: I guess simple switching SDL_memcpy to memmove would fix the problem even tough that would add one extra branch for each line that is copied. But in end switching both branches to use simple memmove would be big gain as C library would have CPU specific optimizations that are missing from SDL.
Created attachment 473802 [details] Fix overlapping memcpy in SDL_BlitCopyOverlap Attached patch fixes the problem for me.
Created attachment 479490 [details] Fix from upstream
SDL-1.2.14-10.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/SDL-1.2.14-10.fc15
SDL-1.2.14-9.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/SDL-1.2.14-9.fc14
SDL-1.2.14-9.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/SDL-1.2.14-9.fc13
SDL-1.2.14-9.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update SDL'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/SDL-1.2.14-9.fc13
SDL-1.2.14-11.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/SDL-1.2.14-11.fc15
SDL-1.2.14-10.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/SDL-1.2.14-10.fc14
SDL-1.2.14-10.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/SDL-1.2.14-10.fc13
SDL-1.2.14-11.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
SDL-1.2.14-10.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
SDL-1.2.14-10.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.