Skip to content
  • Marian Buschsieweke's avatar
    main/busybox: Fixed segfault in microcom · 829a46e5
    Marian Buschsieweke authored and Natanael Copa's avatar Natanael Copa committed
    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.
    829a46e5