]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r282247: vt: fix vt_fb_bitblt_bitmap mask corruption
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 May 2015 18:08:07 +0000 (18:08 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 May 2015 18:08:07 +0000 (18:08 +0000)
commit7255f43132acdab3ba6ccb12e863d77aca804463
tree83d8180fee7be8cf989345aac7157e5905950701
parentbd0d6fb9032f106f4b049cfea6ce85a3b27d5051
MFC r282247: vt: fix vt_fb_bitblt_bitmap mask corruption

  Previously the mask wrapped when one or more of the mask bytes extended
  past the right edge of the window. Simplify the logic and use the same
  byte offset and bit in both the pattern and mask.

PR: 199648
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@282822 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/vt/hw/fb/vt_fb.c