Skip to content

Commit b2c7861

Browse files
escape corpus content when printing
1 parent 7dc6671 commit b2c7861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fuzzer/dump_corpus.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ pub fn main() void {
3838
// Only writing to this buffer has side effects.
3939
const str2: []const u8 = @volatileCast(str);
4040

41-
std.log.info("\"{s}\"", .{str2});
41+
std.log.info("\"{}\"", .{std.zig.fmtEscapes(str2)});
4242
}
4343
}

0 commit comments

Comments
 (0)