diff --git a/samgr_endpoint/source/endpoint.c b/samgr_endpoint/source/endpoint.c index 371a0cbe62a891b3ca23f31ba46a7dd33358e3b7..773cbd93793db8bc25ef007a14955d93843ce4a9 100755 --- a/samgr_endpoint/source/endpoint.c +++ b/samgr_endpoint/source/endpoint.c @@ -463,8 +463,8 @@ static void HandleIpc(const Request *request, const Response *response) IpcIo req; IpcIoInitFromMsg(&req, ipcMsg); IpcIo reply; - uint8 data[IPC_IO_DATA_MAX]; - IpcIoInit(&reply, data, IPC_IO_DATA_MAX, MAX_OBJECT_NUM); + uint8 data[IPC_IO_BIG_MAX]; + IpcIoInit(&reply, data, IPC_IO_BIG_MAX, MAX_OBJECT_NUM); router->proxy->Invoke(router->proxy, request->msgValue, ipcMsg, &req, &reply); uint32_t flag = 0; GetFlag(ipcMsg, &flag); @@ -687,4 +687,4 @@ static boolean SearchFixedPolicy(uid_t callingUid, PolicyTrans policy) } } return FALSE; -} \ No newline at end of file +}