btrfs-progs: image: fix non-printable characters in generated file names
commit658e7b897b93df3bad0690169d7cf4c3032ed113
authorPiotr Pawlow <pp@siedziba.pl>
Fri, 11 Aug 2017 15:11:44 +0000 (11 17:11 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Sep 2017 13:16:54 +0000 (25 15:16 +0200)
tree26ed90edfe87734b57851830bef085fd8f15c91b
parentc5b6e3fad8ea14262c0d2bb7851b0a75298fed6b
btrfs-progs: image: fix non-printable characters in generated file names

Function find_collision sometimes generated file names with non-printable
DEL characters (code 127), for example file name "|5gp!" would be changed
to "U'2<DEL>y" when using "crc-collisions" sanitize mode.

Author: Piotr Pawlow <pp@siedziba.pl>
Signed-off-by: David Sterba <dsterba@suse.com>
image/main.c