fixed prevent issues CID:52041
authorJiban Prakash <p.jiban@samsung.com>
Mon, 29 Apr 2013 09:05:25 +0000 (14:35 +0530)
committerJiban Prakash <p.jiban@samsung.com>
Mon, 29 Apr 2013 09:05:25 +0000 (14:35 +0530)
Change-Id: Ifb8abdccfe1e9250e4bc903c60a2f6c78dac49cc
Signed-off-by: Jiban Prakash <p.jiban@samsung.com>
src/app/FApp_AppArg.cpp

index f1796ba..4313e56 100755 (executable)
@@ -443,7 +443,9 @@ BundleIterFnCb(const char* pKey, const int type, const bundle_keyval_t* pVal, vo
                                result r = pBuffer->Construct(size);
                                SysTryLog(NID_IO, r == E_SUCCESS, "Constructing pBuffer is failed.");
 
-                               pBuffer->SetArray((const byte*)pStr, 0, size);
+                               r = pBuffer->SetArray((const byte*)pStr, 0, size);
+                               SysTryLog(NID_IO, r == E_SUCCESS, "SetArray()for ByteBuffer is failed.");
+
                                pBuffer->Flip();
 
                                pMap->Add(new (std::nothrow) String(pKey), pBuffer);