[PATCH v3 1/5] server: Fix shared object offset when additional blocks are allocated.