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
7eef63bb
Kaydet (Commit)
7eef63bb
authored
Tem 10, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix potential hang here
Change-Id: Id62cdb90420b9ccf4e98fc1af46c70db6ed60ee0
üst
ac46405c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
winwmf.cxx
vcl/source/filter/wmf/winwmf.cxx
+13
-8
No files found.
vcl/source/filter/wmf/winwmf.cxx
Dosyayı görüntüle @
7eef63bb
...
...
@@ -1735,14 +1735,19 @@ bool WMFReader::GetPlaceableBound( Rectangle& rPlaceableBound, SvStream* pStm )
}
break
;
}
nPos
+=
nRSize
*
2
;
if
(
nPos
<=
nEnd
)
pStm
->
Seek
(
nPos
);
else
{
pStm
->
SetError
(
SVSTREAM_FILEFORMAT_ERROR
);
bRet
=
false
;
}
const
sal_uInt32
nAvailableBytes
=
nEnd
-
nPos
;
const
sal_uInt32
nMaxPossibleRecordSize
=
nAvailableBytes
/
2
;
if
(
nRSize
<=
nMaxPossibleRecordSize
)
{
nPos
+=
nRSize
*
2
;
pStm
->
Seek
(
nPos
);
}
else
{
pStm
->
SetError
(
SVSTREAM_FILEFORMAT_ERROR
);
bRet
=
false
;
}
}
}
else
...
...
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