Commit 4979ac8f authored by Matthieu Herrb's avatar Matthieu Herrb Committed by Matt Turner

fix for ZDI-11426

Avoid leaking un-initalized memory to clients by zeroing the
whole pixmap on initial allocation.

This vulnerability was discovered by:
Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
Signed-off-by: Matthieu Herrb's avatarMatthieu Herrb <matthieu@herrb.eu>
Reviewed-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
(cherry picked from commit a6b2cbe9)
parent 2720b871
Pipeline #191309 passed with stages
in 5 minutes and 18 seconds