Description: Fixes opening many Libreoffice documents.
Bug-Debian: https://bugs.debian.org/874048
Forwarded: no
Author: Robert Zavalczki <robert.zavalczki@gmail.com>
Last-Update: 2017-09-13

--- a/src/ole.c
+++ b/src/ole.c
@@ -342,7 +342,7 @@
 	e->blocks=NULL;
 
 	nLen=getshort(oleBuf,0x40);
-	if (nLen > OLENAMELENGTH) {
+	if (nLen > OLENAMELENGTH * 2) {
 		free(e);
 		return NULL;
 	}
