vcpu: Fix an issue of pointer checking by wcwang · Pull Request #282 · intel/haxm (original) (raw)
Replace hax_assert() with error logs for null pointer checking. It should check whether the returned pointer is null rather than assert it must be a valid pointer. This issue was found by the security check tool.
Signed-off-by: Wenchao Wang wenchao.wang@intel.com