| 2c28fa54 | 12-Jul-2017 |
Daniel Verkamp <daniel.verkamp@intel.com> |
test/json_util_ut: assert that string is valid
Make sure the output.my_name pointer is not NULL before calling memcmp() on it. Fixes static analysis warning about a potential NULL pointer dereferen
test/json_util_ut: assert that string is valid
Make sure the output.my_name pointer is not NULL before calling memcmp() on it. Fixes static analysis warning about a potential NULL pointer dereference.
Change-Id: I85faf57c63b0760c4f90d9ee99f6d7e3df121211 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/369264 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|