From e79952c59854e6d5fab638262498d8395acd33ff Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 28 Aug 2005 23:16:56 +0200 Subject: [PATCH] vol_id: ID_LABEL_SAFE will no longer contain fancy characters Signed-off-by: Kay Sievers --- extras/volume_id/vol_id.c | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/volume_id/vol_id.c b/extras/volume_id/vol_id.c index fe0b3a0ed0..3c75bdaa2f 100644 --- 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: