Avoid Segv by testing address field before using it.
authorJohn Light <john.j.light@intel.com>
Thu, 30 Jul 2015 22:14:07 +0000 (15:14 -0700)
committerErich Keane <erich.keane@intel.com>
Mon, 10 Aug 2015 16:33:33 +0000 (16:33 +0000)
commita8f5ed3ff337bce5222967fdf8c0b475fd28e74a
tree6a26fc46021f07ef2d91a8253d97a8398156b754
parenta6d3cd7ad128601f0fede20dd866d535748ee7fd
Avoid Segv by testing address field before using it.

sIssue reported off dev list by Gabriel Schulhof.

Change-Id: Ifa529da59fb784fd5cdef6ca333635cf99ed1f59
Signed-off-by: John Light <john.j.light@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2160
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/src/ip_adapter/linux/caipnwmonitor.c