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
35f75566
Kaydet (Commit)
35f75566
authored
Ara 15, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add link to mkstemp coverity warning wrt threading fiasco
Change-Id: Ic8fea32a163ca5e85ac3e2a34d04e4fa1a1943f9
üst
78d35f28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
vtablefactory.cxx
bridges/source/cpp_uno/shared/vtablefactory.cxx
+1
-0
idlccompile.cxx
idlc/source/idlccompile.cxx
+1
-0
No files found.
bridges/source/cpp_uno/shared/vtablefactory.cxx
Dosyayı görüntüle @
35f75566
...
...
@@ -247,6 +247,7 @@ bool VtableFactory::createBlock(Block &block, sal_Int32 slotCount) const
OString
aTmpName
=
OUStringToOString
(
strDirectory
,
osl_getThreadTextEncoding
());
char
*
tmpfname
=
new
char
[
aTmpName
.
getLength
()
+
1
];
strncpy
(
tmpfname
,
aTmpName
.
getStr
(),
aTmpName
.
getLength
()
+
1
);
// coverity[secure_temp] - https://communities.coverity.com/thread/3179
if
((
block
.
fd
=
mkstemp
(
tmpfname
))
==
-
1
)
fprintf
(
stderr
,
"mkstemp(
\"
%s
\"
) failed: %s
\n
"
,
tmpfname
,
strerror
(
errno
));
if
(
block
.
fd
==
-
1
)
...
...
idlc/source/idlccompile.cxx
Dosyayı görüntüle @
35f75566
...
...
@@ -153,6 +153,7 @@ OString makeTempName(const OString& prefix)
strncat
(
tmpFilePattern
,
"XXXXXX"
,
sizeof
(
tmpFilePattern
)
-
1
-
strlen
(
tmpFilePattern
));
#ifdef SAL_UNX
// coverity[secure_temp] - https://communities.coverity.com/thread/3179
int
nDescriptor
=
mkstemp
(
tmpFilePattern
);
if
(
-
1
==
nDescriptor
)
{
...
...
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