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
b296006f
Kaydet (Commit)
b296006f
authored
Kas 21, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Silence unhelpful cid#1213376 untrusted loop bound warnings
Change-Id: I0a1fcebb268bea942d4bc2d6bf835c3ffb24df3e
üst
e3d76b24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
legacyprovider.cxx
unoidl/source/legacyprovider.cxx
+14
-0
No files found.
unoidl/source/legacyprovider.cxx
Dosyayı görüntüle @
b296006f
...
...
@@ -262,6 +262,9 @@ rtl::Reference< Entity > readEntity(
{
sal_uInt16
m
=
reader
.
getMethodExceptionCount
(
k
);
// coverity[tainted_data] cid#1213376
// unhelpfully warns about an untrusted loop
// bound here:
for
(
sal_uInt16
l
=
0
;
l
!=
m
;
++
l
)
{
getExcs
.
push_back
(
reader
.
getMethodExceptionTypeName
(
k
,
l
).
...
...
@@ -273,6 +276,9 @@ rtl::Reference< Entity > readEntity(
{
sal_uInt16
m
=
reader
.
getMethodExceptionCount
(
k
);
// coverity[tainted_data] cid#1213376
// unhelpfully warns about an untrusted loop
// bound here:
for
(
sal_uInt16
l
=
0
;
l
!=
m
;
++
l
)
{
setExcs
.
push_back
(
reader
.
getMethodExceptionTypeName
(
k
,
l
).
...
...
@@ -307,6 +313,8 @@ rtl::Reference< Entity > readEntity(
std
::
vector
<
InterfaceTypeEntity
::
Method
::
Parameter
>
params
;
sal_uInt16
m
=
reader
.
getMethodParameterCount
(
j
);
// coverity[tainted_data] cid#1213376 unhelpfully warns
// about an untrusted loop bound here:
for
(
sal_uInt16
k
=
0
;
k
!=
m
;
++
k
)
{
RTParamMode
mode
=
reader
.
getMethodParameterFlags
(
j
,
k
);
InterfaceTypeEntity
::
Method
::
Parameter
::
Direction
dir
;
...
...
@@ -339,6 +347,8 @@ rtl::Reference< Entity > readEntity(
}
std
::
vector
<
OUString
>
excs
;
m
=
reader
.
getMethodExceptionCount
(
j
);
// coverity[tainted_data] cid#1213376 unhelpfully warns
// about an untrusted loop bound here:
for
(
sal_uInt16
k
=
0
;
k
!=
m
;
++
k
)
{
excs
.
push_back
(
reader
.
getMethodExceptionTypeName
(
j
,
k
).
replace
(
...
...
@@ -613,6 +623,8 @@ rtl::Reference< Entity > readEntity(
SingleInterfaceBasedServiceEntity
::
Constructor
::
Parameter
>
params
;
sal_uInt16
m
=
reader
.
getMethodParameterCount
(
j
);
// coverity[tainted_data] cid#1213376 unhelpfully warns
// about an untrusted loop bound here:
for
(
sal_uInt16
k
=
0
;
k
!=
m
;
++
k
)
{
RTParamMode
mode
=
reader
.
getMethodParameterFlags
(
j
,
k
);
...
...
@@ -653,6 +665,8 @@ rtl::Reference< Entity > readEntity(
}
std
::
vector
<
OUString
>
excs
;
m
=
reader
.
getMethodExceptionCount
(
j
);
// coverity[tainted_data] cid#1213376 unhelpfully warns
// about an untrusted loop bound here:
for
(
sal_uInt16
k
=
0
;
k
!=
m
;
++
k
)
{
excs
.
push_back
(
reader
.
getMethodExceptionTypeName
(
j
,
k
).
replace
(
...
...
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