From debdd26de8759321dc1650593477f1a83565565b Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 16 Oct 2013 14:49:05 +0100 Subject: Fix cross document store object hash collisions. When putting store objects into the store, ensure that they do cannot collide across documents. --- source/pdf/pdf-font.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/pdf/pdf-font.c') diff --git a/source/pdf/pdf-font.c b/source/pdf/pdf-font.c index f79a0769..e0664b13 100644 --- a/source/pdf/pdf-font.c +++ b/source/pdf/pdf-font.c @@ -765,6 +765,7 @@ hail_mary_make_hash_key(fz_store_hash *hash, void *key_) { hash->u.i.i0 = 0; hash->u.i.i1 = 0; + hash->u.i.ptr = NULL; return 1; } -- cgit v1.2.3