[Bug 195944] New: [PATCH] ggated: Properly report permission problems to the client

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 13 12:54:31 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195944

            Bug ID: 195944
           Summary: [PATCH] ggated: Properly report permission problems to
                    the client
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: fk at fabiankeil.de

Created attachment 150540
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150540&action=edit
ggated: Properly report permission problems to the client

If ggated's exports_find() fails, the connection is removed before
(trying to) report the problem to the client.

sendfail() is called with an already closed socket and thus it
fails to inform the client about the problem.

The attached patch fixes this by calling sendfail() before
connection_remove().

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


More information about the freebsd-bugs mailing list