diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-13 11:02:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-13 11:54:58 +0000 |
commit | 481240f4ba80c794bc86e1fec7795712f2b08650 (patch) | |
tree | cb53df5501782ac6d826468e05967288c734c7df | |
parent | b59f8b33f44d834ac6c946f4524a106f09eb8364 (diff) |
min legal size here is > 4
(cherry picked from commit 3131205c05a3fde4ef1e3322cc48ca23c443f6d3)
Change-Id: I9f68d000b32623db4d949d13284043630f5689f4
(cherry picked from commit 964000d415bcf491704dad57aee7e0656ea60dab)
Reviewed-on: https://gerrit.libreoffice.org/16995
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/source/gdi/jobset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/jobset.cxx b/vcl/source/gdi/jobset.cxx index ab6d0cd112bd..67109134dbe0 100644 --- a/vcl/source/gdi/jobset.cxx +++ b/vcl/source/gdi/jobset.cxx @@ -222,7 +222,7 @@ SvStream& ReadJobSetup( SvStream& rIStream, JobSetup& rJobSetup ) { sal_uInt16 nLen = 0; rIStream.ReadUInt16( nLen ); - if ( !nLen ) + if (nLen <= 4) return rIStream; sal_uInt16 nSystem = 0; |