Fix svace defects 45/114745/1
authorsangwan.kwon <sangwan.kwon@samsung.com>
Wed, 8 Feb 2017 09:26:11 +0000 (18:26 +0900)
committersangwan.kwon <sangwan.kwon@samsung.com>
Wed, 15 Feb 2017 01:53:15 +0000 (10:53 +0900)
commit50fe1286a774e869d4af2f993a4d180d7cafe88c
treeacaf8c4aa871072f9b234c57ec6ea9dae0d71f44
parent7c1f3eac0deba1b3c9ec880b6adb6e15a40f2344
Fix svace defects

* Whole class member should be initialized.
* Check INT_MAX size.(overflow)
* Fix memory leak.

Change-Id: I428ef256f2165f7199f601c9b4e6ae503eafeb39
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
(cherry picked from commit 0145be068295e2e368007fc64fee5d2a8f1a29d2)
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
src/server/src/cert-server-logic.c
src/vcore/XmlsecAdapter.cpp
src/vcore/pkcs12.cpp