CKM: Prevent exceptions in gc. Fix buffer comparison. 86/41986/5
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 19 Jun 2015 12:34:14 +0000 (14:34 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 26 Jun 2015 11:48:06 +0000 (13:48 +0200)
commit93538a726e11a9aa88cfb7e1c11103dc72034eab
tree8553bfda5068d5a535e74adddc609ee0aece0d26
parent615a98b1e0ff6e8ca0a2901d01b4b5fbf14a967c
CKM: Prevent exceptions in gc. Fix buffer comparison.

[Problem] Garbage collector destructor may throw exceptions. Buffers can be
different even if sizes match.
[Solution] Destructor protected with try catch. Buffer comparison fixed.

[Verification] Run tests

Change-Id: Iae33de10ee9e9b2bde6aa427a4f17b49eed6955e
src/ckm/ckm-common.cpp