[PATCH] server: zero allocated memory after allocating mappings