[libdazzle] fuzzy: ensure we have space for trailing byte
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] fuzzy: ensure we have space for trailing byte
- Date: Mon, 5 Jun 2017 04:12:23 +0000 (UTC)
commit 45759e2f3c589938c00395c3ee8b745ce097be3d
Author: Christian Hergert <chergert redhat com>
Date: Sun Jun 4 21:10:07 2017 -0700
fuzzy: ensure we have space for trailing byte
src/fuzzy/dzl-fuzzy-index-builder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/fuzzy/dzl-fuzzy-index-builder.c b/src/fuzzy/dzl-fuzzy-index-builder.c
index c397ce4..21a9fd5 100644
--- a/src/fuzzy/dzl-fuzzy-index-builder.c
+++ b/src/fuzzy/dzl-fuzzy-index-builder.c
@@ -388,7 +388,7 @@ dzl_fuzzy_index_builder_build_index (DzlFuzzyIndexBuilder *self)
while (g_hash_table_iter_next (&iter, &keyptr, (gpointer *)&row))
{
- gchar key[8];
+ gchar key[12];
GVariant *variant;
gunichar ch = GPOINTER_TO_UINT (keyptr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]