FreeBSD Bugzilla – Attachment 181830 Details for
Bug 218693
[PATCH] mail/dovecot2: dovecot/auth hangs when child ntlm_auth crashes while processing an authentication request
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
dovecot2_ntlm_hangs.patch (text/plain), 1.30 KB, created by
andriys
on 2017-04-16 22:44:59 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
andriys
Created:
2017-04-16 22:44:59 UTC
Size:
1.30 KB
patch
obsolete
>Index: files/patch-src_auth_mech-winbind.c >=================================================================== >--- files/patch-src_auth_mech-winbind.c (nonexistent) >+++ files/patch-src_auth_mech-winbind.c (working copy) >@@ -0,0 +1,24 @@ >+--- src/auth/mech-winbind.c >++++ src/auth/mech-winbind.c >+@@ -187,12 +187,18 @@ >+ request->continued = FALSE; >+ >+ while ((answer = i_stream_read_next_line(in_pipe)) == NULL) { >+- if (in_pipe->stream_errno != 0) >++ if (in_pipe->stream_errno != 0 || in_pipe->eof) >+ break; >+ } >+ if (answer == NULL) { >+- auth_request_log_error(auth_request, AUTH_SUBSYS_MECH, >+- "read(in_pipe) failed: %m"); >++ if (in_pipe->stream_errno != 0) { >++ auth_request_log_error(auth_request, AUTH_SUBSYS_MECH, >++ "read(in_pipe) failed: %m"); >++ } else { >++ auth_request_log_error(auth_request, AUTH_SUBSYS_MECH, >++ "read(in_pipe) failed: " >++ "unexpected end of file"); >++ } >+ return HR_RESTART; >+ } >+ > >Property changes on: files/patch-src_auth_mech-winbind.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 218693
: 181830