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
452cd9e7
Kaydet (Commit)
452cd9e7
authored
Agu 29, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
check stream status
Change-Id: I6b9537cf94ac1c5d996ba64ddf878745dadde254
üst
723b3278
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
hang-21.ppt
sd/qa/unit/data/ppt/pass/hang-21.ppt
+0
-0
propread.cxx
sd/source/filter/ppt/propread.cxx
+8
-0
No files found.
sd/qa/unit/data/ppt/pass/hang-21.ppt
0 → 100644
Dosyayı görüntüle @
452cd9e7
File added
sd/source/filter/ppt/propread.cxx
Dosyayı görüntüle @
452cd9e7
...
@@ -497,10 +497,18 @@ void Section::Read( SotStorageStream *pStrm )
...
@@ -497,10 +497,18 @@ void Section::Read( SotStorageStream *pStrm )
{
{
sal_uInt32
nDictCount
(
0
);
sal_uInt32
nDictCount
(
0
);
pStrm
->
ReadUInt32
(
nDictCount
);
pStrm
->
ReadUInt32
(
nDictCount
);
auto
nMaxRecordsPossible
=
pStrm
->
remainingSize
()
/
(
sizeof
(
sal_uInt32
)
*
2
);
if
(
nDictCount
>
nMaxRecordsPossible
)
{
SAL_WARN
(
"sd.filter"
,
"Dictionary count of "
<<
nDictCount
<<
" claimed, only "
<<
nMaxRecordsPossible
<<
" possible"
);
nDictCount
=
nMaxRecordsPossible
;
}
for
(
sal_uInt32
i
=
0
;
i
<
nDictCount
;
++
i
)
for
(
sal_uInt32
i
=
0
;
i
<
nDictCount
;
++
i
)
{
{
sal_uInt32
nSize
(
0
);
sal_uInt32
nSize
(
0
);
pStrm
->
ReadUInt32
(
nSize
).
ReadUInt32
(
nSize
);
pStrm
->
ReadUInt32
(
nSize
).
ReadUInt32
(
nSize
);
if
(
!
pStrm
->
good
())
break
;
sal_uInt64
nPos
=
pStrm
->
Tell
()
+
nSize
;
sal_uInt64
nPos
=
pStrm
->
Tell
()
+
nSize
;
if
(
nPos
!=
pStrm
->
Seek
(
nPos
))
if
(
nPos
!=
pStrm
->
Seek
(
nPos
))
break
;
break
;
...
...
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