Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2015 13:46:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 199559] [patch][regression] ggatel(8) broken on i386 after r238119
Message-ID:  <bug-199559-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199559

            Bug ID: 199559
           Summary: [patch][regression] ggatel(8) broken on i386 after
                    r238119
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Keywords: patch, regression
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: fk@fabiankeil.de
          Keywords: patch, regression

Created attachment 155770
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=155770&action=edit
ggatel: In g_gatel_create(), don't pass stack garbage to the kernel

r238119 broke ggatel(8) on i386.

"ggatel create ..." passes stack garbage to the kernel,
the ioctl fails and no provider is created:

Apr 20 13:09:52 electrobsd-r51 ggatel: ggatel: ioctl(/dev/ggctl): Invalid
argument.
Apr 20 13:09:52 electrobsd-r51 ggatel: Exiting.

This is the same issue as reported in #197309 for ggatec(8).

The attached patch fixes this.

Obtained from: ElectroBSD

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199559-8>