credresource fix 11/29311/9
authorOleksandr Dmytrenko <o.dmytrenko@samsung.com>
Thu, 28 Feb 2019 14:33:32 +0000 (16:33 +0200)
committerAleksey Volkov <a.volkov@samsung.com>
Wed, 13 Mar 2019 11:14:04 +0000 (11:14 +0000)
commit2d7a35274cb19a48b82edc1357ebe6da1e3e0f01
tree5950bb48d421726beb712ea124b1e01b397a252b
parent6e70c8668b1777a0d6d032064fcda8b26b250580
credresource fix

1) pointer check in CheckSubjectOfCertificate
2) check pointer len before free in FreeCred
3) poniter check & cross init in CmpCredId
4) double call fix in DeInitCredResource
5) new CopyCred
6) return buffer convertion in case calloc
7) CheckSubjectOfCertificate: label 'exit' defined but not used

Change-Id: Ic6b5cfb948505b079f37a6c0b2f2047b25ab5d89
Signed-off-by: Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
resource/csdk/security/src/credresource.c