Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Loic
pkg
Commits
c4edfd7f
Commit
c4edfd7f
authored
Apr 13, 2021
by
Baptiste Daroussin
Browse files
vuln.xml: compression neutral temporary file
parent
8f5145fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
libpkg/pkg_audit.c
View file @
c4edfd7f
...
...
@@ -211,7 +211,7 @@ pkg_audit_fetch(const char *src, const char *dest)
tmpdir
=
"/tmp"
;
strlcpy
(
tmp
,
tmpdir
,
sizeof
(
tmp
));
strlcat
(
tmp
,
"/vuln.xml.
bz2.
XXXXXXXX"
,
sizeof
(
tmp
));
strlcat
(
tmp
,
"/vuln.xml.
XX
XXXXXXXX"
,
sizeof
(
tmp
));
if
(
dest
!=
NULL
)
{
if
(
stat
(
dest
,
&
st
)
!=
-
1
)
...
...
Write
Preview
Supports
Markdown
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