sw:lib: validate trtl_msg_poll() input
The main reason it prevent a successful calloc that does not allocate
anything which results in: 'errno = 0' and 'return -1' (which is confusing).
Providing invalid inputs is not acceptable
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
Showing
Please
register
or
sign in
to comment