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
9313095e
Kaydet (Commit)
9313095e
authored
Kas 12, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
valgrind+afl: initialize cSize
Change-Id: Ia1b553fed82645023c28467b837b51bd959adbbe
üst
e76098b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
gifread.cxx
vcl/source/filter/igif/gifread.cxx
+10
-9
No files found.
vcl/source/filter/igif/gifread.cxx
Dosyayı görüntüle @
9313095e
...
...
@@ -214,16 +214,15 @@ void GIFReader::ReadPaletteEntries( BitmapPalette* pPal, sal_uLong nCount )
bool
GIFReader
::
ReadExtension
()
{
sal_uInt8
cFunction
;
sal_uInt8
cSize
;
sal_uInt8
cByte
;
bool
bRet
=
false
;
bool
bOverreadDataBlocks
=
false
;
// Extension-Label
sal_uInt8
cFunction
(
0
);
rIStm
.
ReadUChar
(
cFunction
);
if
(
NO_PENDING
(
rIStm
)
)
{
sal_uInt8
cSize
(
0
);
// Block length
rIStm
.
ReadUChar
(
cSize
);
...
...
@@ -232,12 +231,12 @@ bool GIFReader::ReadExtension()
// 'Graphic Control Extension'
case
(
0xf9
)
:
{
sal_uInt8
cFlags
;
rIStm
.
ReadU
Char
(
cFlags
);
rIStm
.
ReadU
Int16
(
nTimer
);
rIStm
.
ReadUChar
(
nGCTransparentIndex
);
rIStm
.
ReadUChar
(
cByte
);
sal_uInt8
cFlags
(
0
)
;
rIStm
.
ReadUChar
(
cFlags
);
rIStm
.
ReadU
Int16
(
nTimer
);
rIStm
.
ReadU
Char
(
nGCTransparentIndex
);
sal_uInt8
cByte
(
0
);
rIStm
.
ReadUChar
(
cByte
);
if
(
NO_PENDING
(
rIStm
)
)
{
...
...
@@ -267,6 +266,7 @@ bool GIFReader::ReadExtension()
// NetScape-Extension
if
(
aAppId
==
"NETSCAPE"
&&
aAppCode
==
"2.0"
&&
cSize
==
3
)
{
sal_uInt8
cByte
(
0
);
rIStm
.
ReadUChar
(
cByte
);
// Loop-Extension
...
...
@@ -293,6 +293,7 @@ bool GIFReader::ReadExtension()
}
else
if
(
aAppId
==
"STARDIV "
&&
aAppCode
==
"5.0"
&&
cSize
==
9
)
{
sal_uInt8
cByte
(
0
);
rIStm
.
ReadUChar
(
cByte
);
// Loop extension
...
...
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