11 lines
399 B
Diff
11 lines
399 B
Diff
--- dconf-0.34.0/gvdb/gvdb-builder.c 2020-06-23 11:41:44.184000000 +0800
|
|
+++ dconf-0.34.0.bak/gvdb/gvdb-builder.c 2020-06-23 11:42:07.508000000 +0800
|
|
@@ -239,6 +239,7 @@ file_builder_allocate (FileBuilder
|
|
chunk->offset = fb->offset;
|
|
chunk->size = size;
|
|
chunk->data = g_malloc (size);
|
|
+ memset(chunk->data, 0, size);
|
|
|
|
pointer->start = guint32_to_le (fb->offset);
|
|
fb->offset += size;
|