fix SATIZENVUL-265 issue(SVACE: CPP_ALLOCATION_ERRORS) 09/132609/1 submit/tizen/20170607.054147
authorHyihong Chae <hh.chae@samsung.com>
Wed, 7 Jun 2017 05:35:34 +0000 (14:35 +0900)
committerHyihong Chae <hh.chae@samsung.com>
Wed, 7 Jun 2017 05:36:50 +0000 (14:36 +0900)
Change-Id: I9eaa7a53b3434541b3e31cf2329f806b6cb0aa35
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
packaging/smartcard-service.spec
server/ServerReader.cpp

index 5861314..4ff1378 100755 (executable)
@@ -8,7 +8,7 @@
 ################################################################################
 Name:       smartcard-service
 Summary:    Smartcard Service FW
-Version:    0.1.52
+Version:    0.1.53
 Release:    0
 Group:      Network & Connectivity
 Requires:   %{name}-common = %{version}-%{release}
index 4b880d2..580c697 100644 (file)
@@ -78,7 +78,7 @@ namespace smartcard_service_api
        {
                ServerSession *session = NULL;
 
-               session = new ServerSession(this, certHashes, caller, terminal);
+               session = new (std::nothrow) ServerSession(this, certHashes, caller, terminal);
                if (session == NULL)
                        return session;