[NFC] Prevent crash when nfc_ndef_record_get_uri fails to set out parameter 67/79867/1
authorJakub Skowron <j.skowron@samsung.com>
Wed, 13 Jul 2016 08:58:17 +0000 (10:58 +0200)
committerJakub Skowron <j.skowron@samsung.com>
Wed, 13 Jul 2016 08:58:17 +0000 (10:58 +0200)
commita7ec4bb93e5a71c0d446ef2170be75315e911d56
tree4bc5ecc88c54f73feaa5c3615fa1d2a5921b9573
parent0550028f26a3cbb6b42d778e86b00f4dfb06b638
[NFC] Prevent crash when nfc_ndef_record_get_uri fails to set out parameter

Currently nfc_ndef_record_get_uri sometimes returns NFC_ERROR_NONE
while not setting uri parameter correctly.

[Verification]
  Code compiles without errors.

Change-Id: I9e420f8317c561849bd241f36d767c9c17df85ad
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
src/nfc/nfc_message_utils.cc