diff options
author | Marian Buschsieweke <marian.buschsieweke@ovgu.de> | 2017-08-03 07:07:52 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-08-03 10:45:26 +0000 |
commit | 829a46e579053774659b381f0a04cfda2bb6da72 (patch) | |
tree | 389973c242a87799955b9c59a9da30ea56b9b72f /scripts | |
parent | c89b0d14449dee95a6bd3136584ba12f0422a986 (diff) | |
download | aports-829a46e579053774659b381f0a04cfda2bb6da72.tar.bz2 aports-829a46e579053774659b381f0a04cfda2bb6da72.tar.xz |
main/busybox: Fixed segfault in microcom
microcom does not check if required parameter "TTY" is present. Thus,
bb_basename() is called with a NULL pointer, if microcom is started without
any parameter. This in turn calls strlen() on this NULL pointer, resulting
in a segfault. The supplied patch adds a check for the missing TTY parameter
and prints usage when it is missing.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions