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
1361dfc0
Kaydet (Commit)
1361dfc0
authored
Eki 20, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1242606 Untrusted loop bound
Change-Id: Iafa03d4dd65eb343a80996880bc1ed846d1b7491
üst
e3dc8cb1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
svdfppt.cxx
filter/source/msfilter/svdfppt.cxx
+4
-1
svdfppt.hxx
include/filter/msfilter/svdfppt.hxx
+1
-1
No files found.
filter/source/msfilter/svdfppt.cxx
Dosyayı görüntüle @
1361dfc0
...
@@ -3846,7 +3846,7 @@ PPTParaSheet::PPTParaSheet( const PPTParaSheet& rSheet )
...
@@ -3846,7 +3846,7 @@ PPTParaSheet::PPTParaSheet( const PPTParaSheet& rSheet )
*this = rSheet;
*this = rSheet;
}
}
void
PPTParaSheet::Read( SdrPowerPointImport&
bool
PPTParaSheet::Read( SdrPowerPointImport&
#ifdef DBG_UTIL
#ifdef DBG_UTIL
rManager
rManager
#endif
#endif
...
@@ -3903,6 +3903,8 @@ void PPTParaSheet::Read( SdrPowerPointImport&
...
@@ -3903,6 +3903,8 @@ void PPTParaSheet::Read( SdrPowerPointImport&
{
{
// number of tabulators
// number of tabulators
rIn.ReadUInt16( nVal16 );
rIn.ReadUInt16( nVal16 );
if (rIn.remainingSize() / sizeof(nVal32) < nVal16)
return false;
for ( i = 0; i < nVal16; i++ )
for ( i = 0; i < nVal16; i++ )
rIn.ReadUInt32( nVal32 ); // reading the tabulators
rIn.ReadUInt32( nVal32 ); // reading the tabulators
}
}
...
@@ -3973,6 +3975,7 @@ void PPTParaSheet::Read( SdrPowerPointImport&
...
@@ -3973,6 +3975,7 @@ void PPTParaSheet::Read( SdrPowerPointImport&
}
}
nPMask >>= 1;
nPMask >>= 1;
}
}
return false;
}
}
void PPTParaSheet::UpdateBulletRelSize( sal_uInt32 nLevel, sal_uInt16 nFontHeight )
void PPTParaSheet::UpdateBulletRelSize( sal_uInt32 nLevel, sal_uInt16 nFontHeight )
...
...
include/filter/msfilter/svdfppt.hxx
Dosyayı görüntüle @
1361dfc0
...
@@ -800,7 +800,7 @@ public:
...
@@ -800,7 +800,7 @@ public:
explicit
PPTParaSheet
(
sal_uInt32
nInstance
);
explicit
PPTParaSheet
(
sal_uInt32
nInstance
);
PPTParaSheet
(
const
PPTParaSheet
&
rParaSheet
);
PPTParaSheet
(
const
PPTParaSheet
&
rParaSheet
);
void
Read
(
bool
Read
(
SdrPowerPointImport
&
rMan
,
SdrPowerPointImport
&
rMan
,
SvStream
&
rIn
,
SvStream
&
rIn
,
bool
bMasterStyle
,
bool
bMasterStyle
,
...
...
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