Re: Patch: ifconfig - fix SIGSEGV

2014-06-06 Thread Fabian Raetz
On Thu, Jun 05, 2014 at 07:39:01PM +0200, Fabian Raetz wrote: Hi tech@, Please ignore this thread! A reboot after rebuilding userland fixed the problem. Sorry! when calling ifconfig(8) with a not supported option like below, it segfaults. ifconfig [interface]

Re: Patch: ifconfig - fix SIGSEGV

2014-06-06 Thread Giancarlo Razzolini
Em 06-06-2014 03:49, Fabian Raetz escreveu: On Thu, Jun 05, 2014 at 07:39:01PM +0200, Fabian Raetz wrote: Hi tech@, Please ignore this thread! A reboot after rebuilding userland fixed the problem. Sorry! when calling ifconfig(8) with a not supported option like below, it segfaults.

Patch: ifconfig - fix SIGSEGV

2014-06-05 Thread Fabian Raetz
Hi tech@, when calling ifconfig(8) with a not supported option like below, it segfaults. ifconfig [interface] -someParameterNotSupportedWithALeadingMinus ifconfig re0 -adaw ifconfig iwn0 -media Here's a backtrace: #0 strlcpy (dst=0x84c658 _entbuf+24 , src=0x0,