Kaydet (Commit) 959f22c4 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Noel Grandin

skip checking zip crcs when fuzzing

Change-Id: If90828e508178dfaaee51f88cf52ada0aec5970c
Reviewed-on: https://gerrit.libreoffice.org/58120
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst a4901e73
......@@ -30,8 +30,9 @@ $(eval $(call gb_Library_use_libraries,package2,\
cppuhelper \
sal \
sax \
ucbhelper \
salhelper \
ucbhelper \
utl \
))
$(eval $(call gb_Library_use_externals,package2,\
......
......@@ -32,6 +32,8 @@
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <unotools/configmgr.hxx>
using namespace ::com::sun::star;
using namespace com::sun::star::packages::zip::ZipConstants;
using namespace com::sun::star::io;
......@@ -61,7 +63,7 @@ XUnbufferedStream::XUnbufferedStream(
, mnZipEnd ( 0 )
, mnZipSize ( 0 )
, mnMyCurrent ( 0 )
, mbCheckCRC( !bRecoveryMode )
, mbCheckCRC(!bRecoveryMode && !utl::ConfigManager::IsFuzzing())
{
mnZipCurrent = maEntry.nOffset;
if ( mbRawStream )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment