[Bug 199559] [patch][regression] ggatel(8) broken on i386 after r238119

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 20 13:46:46 UTC 2015


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 at FreeBSD.org
          Reporter: fk at 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.


More information about the freebsd-bugs mailing list