[common] Coverity issues fix 39/174039/4
authorPiotr Kosko <p.kosko@samsung.com>
Tue, 27 Mar 2018 12:59:02 +0000 (14:59 +0200)
committerPiotr Kosko <p.kosko@samsung.com>
Wed, 28 Mar 2018 10:54:58 +0000 (12:54 +0200)
commitd8332a3d7c8b9d6c64b3a016fd6aa9b331a28a7b
tree0b13a43825135607872b541d67ba0f5fe4f88c42
parent447e8ff4934d2c0c87b3c1d1bc82152a15aa9337
[common] Coverity issues fix

[Feature] Fixed coverity issues with below ids:
  110914, 110006, 108656, 107626, 107387,
  107077, 106006, 108993, 108297, 106912

  Additionally fixed potential crash in download API -
  in case of native function failure, the "success" response
  is not trying to be build.

[Verification] 100% passrate for modules:
  application, bluetooth, download, exif, filesystem, messaging-*

Change-Id: I8d9482501a7375962408186feaa5ecd1f0826b1d
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
12 files changed:
src/application/application_manager.cc
src/bluetooth/bluetooth_gatt_service.cc
src/bluetooth/bluetooth_health_channel.cc
src/bluetooth/bluetooth_socket.cc
src/common/filesystem/filesystem_storage.h
src/download/download_instance.cc
src/exif/exif_instance.cc
src/exif/jpeg_file.cc
src/messaging/email_manager.cc
src/messaging/message.cc
src/messaging/messaging_manager.cc
src/secureelement/secureelement_instance.cc