Resolve Out-of-bound access 54/223654/2 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.121345 accepted/tizen/6.0/unified/hotfix/20201103.003553 accepted/tizen/6.0/unified/hotfix/20201103.050328 accepted/tizen/unified/20200212.130003 accepted/tizen/unified/20200214.050214 submit/tizen/20200211.005640 submit/tizen/20200212.004613 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 tizen_6.0.m2_release
authorVivek Garg <v.garg@partner.samsung.com>
Fri, 31 Jan 2020 14:53:40 +0000 (20:23 +0530)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 11 Feb 2020 00:55:48 +0000 (09:55 +0900)
Possibly a false alarm: changed pLength from initialized to non-initialized
variable.

Change-Id: Ib167f90d13a4b4991694a748c261c85319297914
Signed-off-by: Lokesh <l.kasana@samsung.com>
packaging/capi-network-smartcard.spec
test/smartcard_unit_test.c

index d30edb9..e9c7557 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-network-smartcard
 Summary:    A Smartcard library in Native API
-Version:    0.0.14
+Version:    0.0.15
 Release:    0
 Group:      Network & Connectivity/Smartcard
 License:    Apache-2.0
index be6d9b4..6729b19 100644 (file)
@@ -687,7 +687,7 @@ int test_input_callback(void *data)
                break;
        case 23:
                {
-                       int pLength = 5;
+                       int pLength = 0;
                        int *phReaders = NULL;
                        int session;
                        int channel;