Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2014 12:54:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195944] New: [PATCH] ggated: Properly report permission problems to the client
Message-ID:  <bug-195944-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: fk@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.



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