summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2015-08-20 22:05:55 +0000
committerjilles <jilles@FreeBSD.org>2015-08-20 22:05:55 +0000
commit5e4f40c860b60f76a46b999cdc2606ac287a975c (patch)
tree05d618ef5ca7326b6ea958cfab1a7b22de13d4f4 /lib/libc
parent4485ab4d3d63c821390eecb708c6ba6bfccdbe8f (diff)
downloadFreeBSD-src-5e4f40c860b60f76a46b999cdc2606ac287a975c.zip
FreeBSD-src-5e4f40c860b60f76a46b999cdc2606ac287a975c.tar.gz
sh: Avoid negative character values from $'\Uffffffff' etc.
The negative value was not expected and generated the low 8 bits as a byte, which may be an invalid character encoding. The final shift in creating the negative value was undefined as well. Make the temporary variable unsigned to fix this.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud