vpp icon indicating copy to clipboard operation
vpp copied to clipboard

Update memif_msg_receive_init API socket.c

Open amithbraj opened this issue 5 years ago • 0 comments

If get_list_elt returns NULL element, then code jumps to error label. Here we are trying to access variable 'c' which is NULL. And 'c' would be set only if get_list_elt succeeds. Also, since lm->control_fd_update() does not use private context, we could either pass NULL or remove the same.

amithbraj avatar Jan 09 '20 07:01 amithbraj