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@FreeBSD.org
          Reporter: f...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to