summaryrefslogtreecommitdiff
path: root/package/inc/ZipFile.hxx
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-03-07 18:24:15 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-03-07 18:24:15 +0000
commit6e0caeee8a36498080f0edf1b53a28945f8a2d75 (patch)
treee69ecb12a0748a68947689d5176b789b0c62cd41 /package/inc/ZipFile.hxx
parent73fa79cb75c89e2ab4704dab90c73428e410f698 (diff)
#84734# Restrict the number of bytes read from a compressed stream when checking for zip file header to a 32k LZ77 window
Diffstat (limited to 'package/inc/ZipFile.hxx')
-rw-r--r--package/inc/ZipFile.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx
index 251e8790eecd..4a6af67d9021 100644
--- a/package/inc/ZipFile.hxx
+++ b/package/inc/ZipFile.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ZipFile.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: mtg $ $Date: 2000-12-19 21:55:35 $
+ * last change: $Author: mtg $ $Date: 2001-03-07 19:24:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -114,10 +114,9 @@ private:
::rtl::OUString sComment; /* zip file comment */
EntryHash aEntries;
ByteGrabber aGrabber;
+ Inflater aInflater;
com::sun::star::uno::Reference < com::sun::star::io::XInputStream > xStream;
public:
- ZipFile( com::sun::star::uno::Reference < com::sun::star::io::XInputStream > &xInput)
- throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException);
ZipFile( com::sun::star::uno::Reference < com::sun::star::io::XInputStream > &xInput, sal_Bool bInitialise)
throw(::com::sun::star::io::IOException, com::sun::star::package::ZipException, com::sun::star::uno::RuntimeException);
void updateFromManList(std::vector < ManifestEntry * > &rManList);