[PATCH] "mdev" segfault when invoked without -s at a shell prompt

Denys Vlasenko vda.linux at googlemail.com
Sat Jun 29 17:32:05 UTC 2013


On Saturday 29 June 2013 07:42, jody at jodybruchon.com wrote:
> When I execute "mdev" without any parameters and outside of a kernel hotplug
> event that sets the environment variable ACTION, mdev segfaults. I tracked this
> down to a failure to check the result of the call getenv("ACTION"). The help
> text should be updated to reflect the fact that mdev shouldn't be run standalone
> without the "-s" parameter, but my main concern is fixing the segfault, which is
> what this patch does. I hope this is mildly helpful. We can't have BusyBox
> applets crashing merely because they're invoked out of curiosity, right? :)

Right.
It is fixed now.
Thanks for the report.


More information about the busybox mailing list