Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/busybox: Fixed segfault in microcom

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Thu, 3 Aug 2017 13:06:52 +0200

On Thu, 3 Aug 2017 07:07:52 +0200
Marian Buschsieweke <marian.buschsieweke_at_ovgu.de> wrote:

> 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.

I pushed it to git master. Thank you!

Did you send it upstream? Or at least reported it to busybox developers?

Is this needed for 3.6-stable too?

-nc



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Aug 03 2017 - 13:06:52 GMT