Commit b2bdcaf6 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>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent cf1582e5
......@@ -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