]> granicus.if.org Git - procps-ng/commit
top: plug a small potential hole in multi-byte support
authorJim Warner <james.warner@comcast.net>
Sun, 1 Oct 2017 22:59:59 +0000 (17:59 -0500)
committerCraig Small <csmall@enc.com.au>
Mon, 2 Oct 2017 11:20:58 +0000 (22:20 +1100)
commitd5a9965cdee5c1dffa251d273212a26f09de0fcc
tree5aa7a64209773b3aeac53dd308c66a5710d35f2c
parent62367defa2de567f24d44656af335187ecefd412
top: plug a small potential hole in multi-byte support

Unlike the insp_mkrow_raw function the insp_mkrow_utf8
routine is not equipped to print non-ctl, non-printing
characters like '<7f>'. However, technically that very
value currently slips through the cracks. So with this
patch top will now print a space in the unlikely event
a character with the value of 127 is ever encountered.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c