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:
b2c6818
)
vol_id: ID_LABEL_SAFE will no longer contain fancy characters
author
Kay Sievers
<kay.sievers@suse.de>
Sun, 28 Aug 2005 21:16:56 +0000
(23:16 +0200)
committer
Kay Sievers
<kay.sievers@suse.de>
Sun, 28 Aug 2005 21:16:56 +0000
(23:16 +0200)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
extras/volume_id/vol_id.c
patch
|
blob
|
history
diff --git
a/extras/volume_id/vol_id.c
b/extras/volume_id/vol_id.c
index
fe0b3a0
..
3c75bda
100644
(file)
--- a/
extras/volume_id/vol_id.c
+++ b/
extras/volume_id/vol_id.c
@@
-156,6
+156,7
@@
int main(int argc, char *argv[])
print:
set_str(name, vid->label, sizeof(vid->label));
+ replace_untrusted_chars(name);
switch (print) {
case PRINT_EXPORT: