]> granicus.if.org Git - procps-ng/commit
0049-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>
Sat, 9 Jun 2018 11:35:19 +0000 (21:35 +1000)
commit8f49e98a3fe27022c08b311a6455cdf0c3fb5525
treec520a630907ba8f91cc875dba32622df92c3f0f7
parent1ecf125d3ff199766ba9513b180a8bd973240e8a
0049-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