mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
os: fix null termination in fb connection
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user