summaryrefslogtreecommitdiffstats
path: root/common/minilzo.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2014-06-27 14:27:34 -0500
committerJohannes Schindelin <johannes.schindelin@gmx.de>2014-06-27 14:29:32 -0500
commit3238443dc1ff5e7d0a9457dce5e0fb46c7bc1624 (patch)
treed1ba92cb5022a2f1e3f6e380b2ef8dc8e9b02844 /common/minilzo.h
parentd1a3eb9db5b5c4e0b9b2c4529bb5f82fbd8fd331 (diff)
downloadlibtdevnc-3238443dc1ff5e7d0a9457dce5e0fb46c7bc1624.tar.gz
libtdevnc-3238443dc1ff5e7d0a9457dce5e0fb46c7bc1624.zip
Update LZO to version 2.07
It was reported that LZO has security issues in LMS-2014-06-16-1: Oberhumer LZO (CVE-2014-4607): http://seclists.org/oss-sec/2014/q2/665 This was also reported by Alex Xu as https://github.com/LibVNC/libvncserver/issues/9. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'common/minilzo.h')
-rw-r--r--common/minilzo.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/common/minilzo.h b/common/minilzo.h
index bd8ad65..fd2fb32 100644
--- a/common/minilzo.h
+++ b/common/minilzo.h
@@ -2,21 +2,7 @@
This file is part of the LZO real-time data compression library.
- Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer
- Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer
All Rights Reserved.
The LZO library is free software; you can redistribute it and/or
@@ -49,7 +35,7 @@
#ifndef __MINILZO_H
#define __MINILZO_H 1
-#define MINILZO_VERSION 0x2040
+#define MINILZO_VERSION 0x2070
#ifdef __LZOCONF_H
# error "you cannot use both LZO and miniLZO"
@@ -77,7 +63,7 @@ extern "C" {
*/
#define LZO1X_MEM_COMPRESS LZO1X_1_MEM_COMPRESS
-#define LZO1X_1_MEM_COMPRESS ((lzo_uint32) (16384L * lzo_sizeof_dict_t))
+#define LZO1X_1_MEM_COMPRESS ((lzo_uint32_t) (16384L * lzo_sizeof_dict_t))
#define LZO1X_MEM_DECOMPRESS (0)