diff options
author | Jarno Mäkipää <jmakip87@gmail.com> | 2019-10-10 00:06:03 +0300 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-10-09 21:18:30 -0500 |
commit | 52422388520e4bf82e56a4cce3f2c2076cbed834 (patch) | |
tree | 79e2b18852aa5148f1df63c908763a3910d1a2b4 /toys/pending/bc.c | |
parent | 8440d9b29fa8faed432bb20ec031bb5e72f0bea9 (diff) | |
download | toybox-52422388520e4bf82e56a4cce3f2c2076cbed834.tar.gz |
ls: fix seqfault on broken locale
When user builds toybox CFG_TOYBOX_I18N disabled and tries to list
folder contents with multibyte characters other than UTF-8 ls might
seqfault since wcrtomb returns -1
while locale set to fi_FI-UTF-8 disable CFG_TOYBOX_I18N
touch őőőőaaőő
ls
Diffstat (limited to 'toys/pending/bc.c')
0 files changed, 0 insertions, 0 deletions