diff options
author | Tomasz Swierczek <t.swierczek@samsung.com> | 2017-09-07 09:23:35 +0200 |
---|---|---|
committer | Tomasz Swierczek <t.swierczek@samsung.com> | 2017-09-07 09:23:35 +0200 |
commit | a8e78310ca6323c84fe44c7b60fd3925c978a1bc (patch) | |
tree | eb6402a32ce13fae551fe98bdd8f86f03cd94de4 | |
parent | c0385261b6cedc706ab83002bedd3005e4e9b97e (diff) | |
download | cert-checker-tizen_4.0.tar.gz cert-checker-tizen_4.0.tar.bz2 cert-checker-tizen_4.0.zip |
Fix SVACE defect: improper comparison in < operator of PkgmgrEventtizen_4.0.m2_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_4.0/20170907.103759accepted/tizen/4.0/unified/20170908.221809tizen_4.0accepted/tizen_4.0_unified
Change-Id: I4475dfd91a8ae0ffb734307c201927bd5d0cd2df
Signed-off-by: Tomasz Swierczek <t.swierczek@samsung.com>
-rw-r--r-- | src/service/logic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service/logic.cpp b/src/service/logic.cpp index d762721..ce11142 100644 --- a/src/service/logic.cpp +++ b/src/service/logic.cpp @@ -52,7 +52,7 @@ struct PkgmgrEvent { { if (uid < rhs.uid) return true; - else if (uid < rhs.uid) + else if (uid > rhs.uid) return false; else return pkgid.compare(rhs.pkgid) < 0; |