Fixed invalid write in doxmresource
authorErich Keane <erich.keane@intel.com>
Wed, 22 Jul 2015 17:25:48 +0000 (10:25 -0700)
committerErich Keane <erich.keane@intel.com>
Wed, 22 Jul 2015 20:01:31 +0000 (20:01 +0000)
commite243212d40b859488d187abd4003b7596e5a2340
tree204a06b29d4ebc6b795c61dcdb59a39bb8fc3336
parent5e392d5c5d66b7ec2ef7f06feddb841dadc7b5af
Fixed invalid write in doxmresource

The doxmresource was allocating based on the size of a short,
but the type was an enum.  This adjusts the size to be correct.

Change-Id: Id0dcc26b346b2ef096992bd84173319ddce2c7e6
Signed-off-by: Erich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1819
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
resource/csdk/security/src/doxmresource.c