Added to compare option size and data length
Added to compare option size and data length

If an option is over data, the stack occur a crash.
Because unexpected sections are referenced.

Change-Id: I965c80f53a8df1ae8998cd5fa12f3908acc3a924
Signed-off-by: Jaehong Jo <69db334b3f87f30654728856fde276b43c835fe5@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/26881
Tested-by: IoTivity Jenkins <6267f6022d49a8a37a7fe97da24aebfab797522c@iotivity.org>
Reviewed-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>
Tested-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>

iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained