Commit 93a28211 authored by Federico Vaga's avatar Federico Vaga

wrtd:rt: raise error on invalid pointer

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 951f2a21
......@@ -900,6 +900,8 @@ static inline void ctl_chan_enable_trigger (uint32_t seq, struct wrnc_msg *ibuf)
wrnc_msg_int32(ibuf, &enable);
wrnc_msg_uint32(ibuf, (uint32_t *) &ent);
if (!ent)
ctl_nack(seq, -1);
struct lrt_output_rule *rule = &ent->ocfg[ch];
#ifdef RTDEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment