"Dr. David Alan Gilbert" <[email protected]> writes: > * Markus Armbruster ([email protected]) wrote:
[...] >> Moreover, it happily prints control characters even without >> handle_ovmf_log_range() fixed. >> >> If the log is ASCII (see below), you could use g_strescape(). Copies >> the string on the heap yet again. Meh. > > That's probably the wrong thing for hmp; you want cr,lf and maybe tabs > to pass straight through - you want a log to be correctly line formatted; > you just want to stop nasties getting through. Use the @exceptions argument.
