coverity 189199: messageboard: confirm vhd non-NULL

This commit is contained in:
Andy Green 2018-04-06 12:22:05 +08:00
parent bf5457af69
commit 67cfdfaeb2

View file

@ -373,7 +373,7 @@ callback_messageboard(struct lws *wsi, enum lws_callback_reasons reason,
default:
passthru:
if (!pss)
if (!pss || !vhd)
break;
return vhd->gsp->callback(wsi, reason, pss->pss_gs, in, len);
}