Change for Svace issue 28/87428/1 accepted/tizen/common/20160909.114712 accepted/tizen/ivi/20160909.062220 accepted/tizen/mobile/20160909.062134 accepted/tizen/tv/20160909.062155 accepted/tizen/wearable/20160909.062206 submit/tizen/20160909.000457
authorJihoon Jung <jh8801.jung@samsung.com>
Thu, 8 Sep 2016 02:59:28 +0000 (11:59 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Thu, 8 Sep 2016 03:00:51 +0000 (12:00 +0900)
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: I5170d053f8d7205a66c965c1557cabb25add3c1a

common/AccessCondition.cpp

index d68f028..86819b0 100644 (file)
@@ -42,6 +42,9 @@ namespace smartcard_service_api
                if (command.size() < 4) /* apdu header size */
                        return false;
 
+               if (command.getBuffer() == NULL)
+                       return false;
+
                if (listFilters.size() > 0)
                {
                        unsigned int cmd, mask, rule;