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
4661b2dd
Kaydet (Commit)
4661b2dd
authored
Tem 12, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
emf: test for negative numbers
Change-Id: I9d9b6f3e9592ca7b85cee5422e43d4ca46b8bb36
üst
5a0017f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
crash-1.emf
vcl/qa/cppunit/graphicfilter/data/emf/pass/crash-1.emf
+0
-0
enhwmf.cxx
vcl/source/filter/wmf/enhwmf.cxx
+1
-1
No files found.
vcl/qa/cppunit/graphicfilter/data/emf/pass/crash-1.emf
0 → 100644
Dosyayı görüntüle @
4661b2dd
File added
vcl/source/filter/wmf/enhwmf.cxx
Dosyayı görüntüle @
4661b2dd
...
...
@@ -1441,7 +1441,7 @@ bool EnhWMFReader::ReadEnhWMF()
DBG_ASSERT
(
(
nOptions
&
(
ETO_PDY
|
ETO_GLYPH_INDEX
)
)
==
0
,
"SJ: ETO_PDY || ETO_GLYPH_INDEX in EMF"
);
Point
aPos
(
ptlReferenceX
,
ptlReferenceY
);
if
(
nLen
&&
nLen
<
static_cast
<
sal_Int32
>
(
SAL_MAX_UINT32
/
sizeof
(
sal_Int32
)
)
)
if
(
nLen
>
0
&&
nLen
<
static_cast
<
sal_Int32
>
(
SAL_MAX_UINT32
/
sizeof
(
sal_Int32
)
)
)
{
if
(
offDx
&&
((
nCurPos
+
offDx
+
nLen
*
4
)
<=
nNextPos
)
)
{
...
...
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