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
31050012
Kaydet (Commit)
31050012
authored
Tem 01, 2014
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1202814 Overflowed return value
Change-Id: Ifc07a0b3f09dc1209e434056eb007a4401a09d3e
üst
e50ef195
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
hgzip.cxx
hwpfilter/source/hgzip.cxx
+7
-7
No files found.
hwpfilter/source/hgzip.cxx
Dosyayı görüntüle @
31050012
...
@@ -284,15 +284,15 @@ int gz_flush(gz_stream * file, int flush)
...
@@ -284,15 +284,15 @@ int gz_flush(gz_stream * file, int flush)
*/
*/
local
uLong
getLong
(
gz_stream
*
s
)
local
uLong
getLong
(
gz_stream
*
s
)
{
{
uLong
x
=
(
uLong
)
get_byte
(
s
);
uLong
x
=
(
unsigned
char
)
get_byte
(
s
);
int
c
;
x
+=
((
uLong
)
get_byte
(
s
))
<<
8
;
x
+=
((
unsigned
char
)
get_byte
(
s
))
<<
8
;
x
+=
((
uLong
)
get_byte
(
s
))
<<
16
;
x
+=
((
unsigned
char
)
get_byte
(
s
))
<<
16
;
c
=
get_byte
(
s
);
x
+=
((
unsigned
char
)
get_byte
(
s
))
<<
24
;
if
(
c
==
EOF
)
if
(
s
->
z_eof
)
{
s
->
z_err
=
Z_DATA_ERROR
;
s
->
z_err
=
Z_DATA_ERROR
;
x
+=
((
uLong
)
c
)
<<
24
;
}
return
x
;
return
x
;
}
}
...
...
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