summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeeresh Kadasani <external.vkadasani@jp.adit-jv.com>2019-11-18 11:14:56 +0900
committerVeeresh Kadasani <external.vkadasani@jp.adit-jv.com>2019-11-18 02:29:32 +0000
commit54fe9ce01eb08e8266593dbc8da2c2317de670f4 (patch)
treee4d35d1ff64d67f379738afac7e3660c4ee112ce
parentaa7115087d914a2438ca026a44deb9a4882f8760 (diff)
Bug-AGL:SPEC-2965 If a surface is put on the transmitter output without starting the waltham-receiver there was a crash because of null pointer access. Change-Id: Iec331e0077a59397cd579923bdabe5f906c2fba1 Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
-rw-r--r--waltham-transmitter/transmitter-plugin/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/waltham-transmitter/transmitter-plugin/output.c b/waltham-transmitter/transmitter-plugin/output.c
index 853889b..df834a5 100644
--- a/waltham-transmitter/transmitter-plugin/output.c
+++ b/waltham-transmitter/transmitter-plugin/output.c
@@ -191,7 +191,7 @@ transmitter_output_repaint(struct weston_output *base,
if (wl_list_empty(&compositor->view_list))
goto out;
- if (remote->status == WESTON_TRANSMITTER_CONNECTION_DISCONNECTED)
+ if (remote->status != WESTON_TRANSMITTER_CONNECTION_READY)
goto out;
wl_list_for_each_reverse(view, &compositor->view_list, link) {