lib/odp-util: Do not use mask if it doesn't exist.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 11 Apr 2014 22:51:10 +0000 (15:51 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 14 Apr 2014 18:00:37 +0000 (11:00 -0700)
commit546953509095cec6fad42663b659171618b765d2
tree18bb80b05dffdd83e63ccd92b109ff7af4fe1991
parentca3d034b3909dfe7ae5d2044f3547e57cb9fb8f5
lib/odp-util: Do not use mask if it doesn't exist.

Diagnostic code path dereferenced a NULL pointer.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Reviewed-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
lib/odp-util.c