Fix NULL pointer deferencing in SimpleClientServer
authorSatya Prakash Gupta <sp.gupta@samsung.com>
Thu, 18 Jun 2015 12:22:24 +0000 (17:52 +0530)
committerErich Keane <erich.keane@intel.com>
Mon, 29 Jun 2015 20:15:17 +0000 (20:15 +0000)
commit59668488d00471f87c89d939e8f4a7c62fdf1c96
treed888f68d72ee57aa40ebd0e6d051150d5c850bf1
parente04e162b63dca89648eef4639312366fd4f5c395
Fix NULL pointer deferencing in SimpleClientServer

Update PrintReceivedMsgInfo to print UNKNOWN when ehRequest is NULL.

Change-Id: Iaed6e2287efbcca2e41cc497545f21dcc6dc618a
Signed-off-by: Satya Prakash Gupta <sp.gupta@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1356
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/stack/samples/linux/SimpleClientServer/ocservercoll.cpp