diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2024-07-16 12:14:34 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2024-07-16 12:17:28 +0300 |
commit | 1c76c25fb8c6791625f01e9fa493f33732cc67f5 (patch) | |
tree | ab69988e889a8da90b8824d811941d5d318cea73 /shared/xalloc.c | |
parent | 0ec604bbc963f5a53c3469bd83cf1d6ad515f135 (diff) |
layout: Don't assume we have background surface set-up
set_background request assumes we have set-up a bg surface which might
not be the always case. Just avoid dereferencing before testing for a
valid background surface role.
Bug-AGL: SPEC-5205
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reported-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I3481d7eda83c8d6e7605dc0e8fec240029405808
(cherry picked from commit c1610846f53a0d722da97ce33ae02ad89c6b0194)
Diffstat (limited to 'shared/xalloc.c')
0 files changed, 0 insertions, 0 deletions