[BT C#] Add checks in code to fix issues.
authorSudha Bheemanna <b.sudha@samsung.com>
Thu, 19 Jan 2017 05:16:47 +0000 (10:46 +0530)
committerSudha Bheemanna <b.sudha@samsung.com>
Thu, 19 Jan 2017 05:21:57 +0000 (10:51 +0530)
commita7b96b506b330300a0444a1ee1ed9331481289b9
treed233a1ee3d78f6a6cd759afb97f02f3a5635d290
parentb1d20fe1b71f063b7b3ab2df3106d9d6900f1e27
[BT C#] Add checks in code to fix issues.

1> Added code to check data length before copying data to memory location.
2> Removed unwanted exception throw for optional data in the
   advertising and scan response data of Le packet.

Change-Id: If456f3602fc72d8354f1026158991946c25b3028
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothLeAdapterImpl.cs [changed mode: 0644->0755]
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothStructs.cs [changed mode: 0644->0755]