Message size for input callback in switch context: fixed.
This commit is contained in:
parent
7fda2bd1ad
commit
62dcda8263
@ -200,8 +200,8 @@ enum ipccb
|
||||
default_cb_in(int fd, struct ipc_message *m)
|
||||
{
|
||||
// TODO: fix buffer size for switching messages
|
||||
size_t msize = 4096;
|
||||
char buf[msize];
|
||||
size_t msize = IPC_MAX_MESSAGE_SIZE;
|
||||
SECURE_BUFFER_DECLARATION (char, buf, msize);
|
||||
char *pbuf = buf;
|
||||
|
||||
// By default, usock_read (a wrapper around read(2)) is used.
|
||||
|
Reference in New Issue
Block a user