Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
99c361be
Kaydet (Commit)
99c361be
authored
Şub 28, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
check nTargetBits size
Change-Id: I5cc7499cfdee58ffa480bb31dfc262d5b781180d
üst
2c5db736
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ccidecom.cxx
filter/source/graphicfilter/itiff/ccidecom.cxx
+4
-1
No files found.
filter/source/graphicfilter/itiff/ccidecom.cxx
Dosyayı görüntüle @
99c361be
...
...
@@ -627,7 +627,9 @@ void CCIDecompressor::StartDecompression( SvStream & rIStream )
bool
CCIDecompressor
::
DecompressScanline
(
sal_uInt8
*
pTarget
,
sal_uLong
nTargetBits
,
bool
bLastLine
)
{
bool
b2D
;
//Read[1|2]DScanlineData take a sal_uInt16, so its either limit here or expand there
if
(
nTargetBits
>
SAL_MAX_UINT16
)
return
false
;
if
(
nEOLCount
>=
5
)
// RTC (Return To Controller)
return
true
;
...
...
@@ -682,6 +684,7 @@ bool CCIDecompressor::DecompressScanline( sal_uInt8 * pTarget, sal_uLong nTarget
if
(
nOptions
&
CCI_OPTION_BYTEALIGNROW
)
nInputBitsBufSize
&=
0xfff8
;
bool
b2D
;
// is it a 2D row?
if
(
nOptions
&
CCI_OPTION_2D
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment