Fix Svace issue 77/88977/1 accepted/tizen/common/20160926.154217 accepted/tizen/ivi/20160927.021734 accepted/tizen/mobile/20160927.021912 accepted/tizen/tv/20160927.021632 accepted/tizen/wearable/20160927.021921 submit/tizen/20160926.041711
authorJihoon Jung <jh8801.jung@samsung.com>
Wed, 21 Sep 2016 08:55:33 +0000 (17:55 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 21 Sep 2016 08:58:25 +0000 (17:58 +0900)
- ID : 98114

Change-Id: I33238d87c4d2ece57872e9806155656a15911a19

test/smartcard_unit_test.c

index 5bce7f7..be6d9b4 100644 (file)
@@ -538,7 +538,7 @@ int test_input_callback(void *data)
 
                                if (ret == SMARTCARD_ERROR_NONE && session != 0) {
                                        int i;
-                                       unsigned char * pSelectResponse;
+                                       unsigned char * pSelectResponse = NULL;
 
                                        ret = smartcard_session_open_logical_channel(session, aid, 12, 0x00, &channel);