diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-09 09:49:04 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-09 16:49:04 +0900 |
commit | d09a71356e3ed78be7cef3cd7d9919dc77508b41 (patch) | |
tree | 7404a49ddb5dbbc7ae7f94b231a7fbd2191e98ed /man/kernel-command-line.xml | |
parent | 68e16e9c7224883e224fc21b32bd66ce1ef706b3 (diff) | |
download | systemd-d09a71356e3ed78be7cef3cd7d9919dc77508b41.tar.gz |
terminal-util: extra safety checks when parsing $COLUMNS or $LINES (#10314)
Let's make sure the integers we parse out are not larger than USHRT_MAX.
This is a good idea as the kernel's TIOCSWINSZ ioctl for sizing
terminals can't take larger values, and we shouldn't risk an overflow.
Diffstat (limited to 'man/kernel-command-line.xml')
0 files changed, 0 insertions, 0 deletions