]> granicus.if.org Git - procps-ng/commit
proc/escape.c: Handle negative wcwidth() return value.
authorQualys Security Advisory <qsa@qualys.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerCraig Small <csmall@enc.com.au>
Fri, 18 May 2018 21:32:21 +0000 (07:32 +1000)
commit8d359b04abae666e621694a8e7bfa9d55a2e07c4
tree1b9ed1daaff038670a60fe0cba8086809c91f5a4
parent47303a3592b08dad10722786ae06048e68591b51
proc/escape.c: Handle negative wcwidth() return value.

This should never happen, because wcwidth() is called only if iswprint()
returns nonzero. But belt-and-suspenders, and make it visually clear
(very important for the next patch).
proc/escape.c