projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8460289
)
importd: ensure we don't mishandle a NULL string
author
Lennart Poettering
<lennart@poettering.net>
Fri, 6 Apr 2018 16:57:36 +0000
(18:57 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 12 Apr 2018 09:02:47 +0000
(11:02 +0200)
src/import/import.c
patch
|
blob
|
history
diff --git
a/src/import/import.c
b/src/import/import.c
index
b961f58
..
5f459b0
100644
(file)
--- a/
src/import/import.c
+++ b/
src/import/import.c
@@
-195,7
+195,7
@@
static int import_raw(int argc, char *argv[], void *userdata) {
fd = STDIN_FILENO;
(void) readlink_malloc("/proc/self/fd/0", &pretty);
- log_info("Importing '%s', saving as '%s'.",
pretty
, local);
+ log_info("Importing '%s', saving as '%s'.",
strempty(pretty)
, local);
}
r = sd_event_default(&event);