vlib: fix coverity 274750
Add a missing null check.
Type: fix
@@ -568,8 +568,11 @@ vl_msg_api_process_file (vlib_main_t * vm, u8 * filename,
am->replay_in_progress = 0;
return;
}
+ if (m)
+ {
m->endian_handler (tmpbuf + sizeof (uword));
}
+ }
/* msg_id always in network byte order */
if (clib_arch_is_little_endian)
