escape octal from filesystem source; fixes #1244
Costa Tsaousis (ktsaou) committed
Nov 19, 2016 at 11:25 UTC
2c7abb51b2eb656c04c2fffbccc8af8e9451b1f9
1 file changed
+1
-1
src/proc_self_mountinfo.c
+1
-1
@@ -249,7 +249,7 @@ struct mountinfo *mountinfo_read() {
249
mi->filesystem = strdupz(procfile_lineword(ff, l, w)); w++;
250
mi->filesystem_hash = simple_hash(mi->filesystem);
251
252
- mi->mount_source = strdupz(procfile_lineword(ff, l, w)); w++;
252
+ mi->mount_source = strdupz_decoding_octal(procfile_lineword(ff, l, w)); w++;
253
mi->mount_source_hash = simple_hash(mi->mount_source);
254
255
mi->super_options = strdupz(procfile_lineword(ff, l, w)); w++;