aboutsummaryrefslogtreecommitdiff
path: root/examples/output-layout.c
diff options
context:
space:
mode:
authorMichiel <code@m01.eu>2019-05-05 20:24:16 +0100
committerSimon Ser <contact@emersion.fr>2019-05-13 23:30:38 +0300
commita68c7c0c8d741074f60fb5ab9d2d2ff0841c6e3e (patch)
tree62f8446289122e1c2aa48a19c5e6b3002cbd6888 /examples/output-layout.c
parent03346cb28f13a9f67549e37431725a10066b966b (diff)
Fixes #1689 RDP RemoteFX crash
When using the rdp backend and connecting with xfreerdp ... --rfx, wlroots crashes in backend/rdp/output.c while attempting to realloc(..., 0). This commit guards against that and instead returns true, resulting in no rfx message being sent. This prevents the crash and appears to work, but it's not obvious if this is correct from a specification perspective.
Diffstat (limited to 'examples/output-layout.c')
0 files changed, 0 insertions, 0 deletions