os: fix null termination in fb connection

This commit is contained in:
Norman Feske 2016-12-06 18:41:30 +01:00
parent 4475ac10d6
commit dda054aa27

View File

@ -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);