sna: Promote uint16_t to a full int to avoid overflow in computing w*h in memcpy_xor
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Nov 2013 15:10:40 +0000 (15:10 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Nov 2013 15:12:37 +0000 (15:12 +0000)
commit587c4866652e40e1e228b333028114766a6d3b08
treea2cb242571f8f2f9f2c679e51378e55490884746
parent8f6e227ba8127a2ca034271f2a660c24abbe056f
sna: Promote uint16_t to a full int to avoid overflow in computing w*h in memcpy_xor

Reported-by: Conley Moorhous <conleymoorhous@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70527
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/blt.c