Fix the coverity issue 67/224767/1 submit/tizen/20200218.012749 submit/tizen/20200220.013053
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 13 Feb 2020 02:27:38 +0000 (11:27 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 13 Feb 2020 02:27:38 +0000 (11:27 +0900)
Parse warning (PW.PARAMETER_HIDDEN)

Change-Id: Ia3aedadd57860374e07bbd5a9c669b26d4996e77
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
common/GPARFACL.cpp

index dc6192d..9d5587e 100644 (file)
@@ -212,13 +212,13 @@ namespace smartcard_service_api
 
                                /* access condition path */
                                if (tlv.decodeTLV() == true && tlv.getTag() == 0x30) /* SEQUENCE : Path */ {
-                                       ByteArray path;
+                                       ByteArray tlv_path;
 
                                        /* OCTET STRING */
-                                       path = SimpleTLV::getOctetString(tlv.getValue());
-                                       _DBG("path : %s", path.toString().c_str());
+                                       tlv_path = SimpleTLV::getOctetString(tlv.getValue());
+                                       _DBG("tlv_path : %s", tlv_path.toString().c_str());
 
-                                       if (loadAccessConditions(channel, aid, path) == 0) {
+                                       if (loadAccessConditions(channel, aid, tlv_path) == 0) {
                                                _DBG("loadCertHashes success");
                                        } else {
                                                _ERR("loadCertHashes failed");