From: Vivek Garg Date: Fri, 31 Jan 2020 14:53:40 +0000 (+0530) Subject: Resolve Out-of-bound access X-Git-Tag: accepted/tizen/6.0/unified/20201030.121345^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_6.0;p=platform%2Fcore%2Fapi%2Fsmartcard.git Resolve Out-of-bound access Possibly a false alarm: changed pLength from initialized to non-initialized variable. Change-Id: Ib167f90d13a4b4991694a748c261c85319297914 Signed-off-by: Lokesh --- diff --git a/packaging/capi-network-smartcard.spec b/packaging/capi-network-smartcard.spec index d30edb9..e9c7557 100644 --- a/packaging/capi-network-smartcard.spec +++ b/packaging/capi-network-smartcard.spec @@ -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 diff --git a/test/smartcard_unit_test.c b/test/smartcard_unit_test.c index be6d9b4..6729b19 100644 --- a/test/smartcard_unit_test.c +++ b/test/smartcard_unit_test.c @@ -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;