mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
os: fix null termination in fb connection
This commit is contained in:
parent
4475ac10d6
commit
dda054aa27
@ -41,6 +41,7 @@ class Framebuffer::Connection : public Genode::Connection<Session>,
|
||||
|
||||
enum { ARGBUF_SIZE = 128 };
|
||||
char argbuf[ARGBUF_SIZE];
|
||||
argbuf[0] = 0;
|
||||
|
||||
/* donate ram quota for storing server-side meta data */
|
||||
Arg_string::set_arg(argbuf, sizeof(argbuf), "ram_quota", RAM_QUOTA);
|
||||
|
Loading…
Reference in New Issue
Block a user