projects
/
framework
/
web
/
wrt-installer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a99276
)
[Prevent] Handle return value from CertificateCollection::sort.
author
Jan Olszak
<j.olszak@samsung.com>
Tue, 13 Nov 2012 12:12:08 +0000
(13:12 +0100)
committer
Jan Olszak
<j.olszak@samsung.com>
Fri, 23 Nov 2012 14:20:52 +0000
(15:20 +0100)
[Issue#] Unhandled return value.
[Bug] N/A
[Cause] N/A
[Solution] Logging on error.
[Verification] Build installer
Change-Id: Ia30a0ec3522aa736dc5399f6d879fde9803509a0
src/jobs/widget_install/task_certify.cpp
patch
|
blob
|
history
diff --git
a/src/jobs/widget_install/task_certify.cpp
b/src/jobs/widget_install/task_certify.cpp
index
2091407
..
dbfc7cd
100755
(executable)
--- a/
src/jobs/widget_install/task_certify.cpp
+++ b/
src/jobs/widget_install/task_certify.cpp
@@
-132,7
+132,9
@@
void TaskCertify::processDistributorSignature(const SignatureData &data,
CertificateCollection collection;
collection.load(data.getCertList());
- collection.sort();
+ Assert(collection.sort() &&
+ "Certificate collection can't sort");
+
Assert(collection.isChain() &&
"Certificate collection is not able to create chain. "
"It is not possible to verify this signature.");