Added function pointer validation to InProcClientWrapper
authorErich Keane <erich.keane@intel.com>
Tue, 31 Mar 2015 22:01:02 +0000 (15:01 -0700)
committerErich Keane <erich.keane@intel.com>
Wed, 1 Apr 2015 22:04:10 +0000 (22:04 +0000)
commitb3ffff8a065dcff17ae59a8a2618ffb56a9ac7fa
tree2c4f8135273f7451a90a69a07b384564ad4c1440
parentf2a3b546ea25c5854a1eced35529b9c46ffd9f34
Added function pointer validation to InProcClientWrapper

InProcClientWrapper permitted calls with an invalid function
object being sent. This ensures that the parameter is correctly
validated.

Change-Id: If38af50fd6fb3ab2006c0c5cb53dd9af0c42a57b
Signed-off-by: Erich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/620
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
resource/src/InProcClientWrapper.cpp
resource/unittests/OCPlatformTest.cpp