The Samba-Bugzilla – Attachment 7773 Details for
Bug 9001
SEGV in ntp_signd line 194
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git format-patch
0001-s4-ntp_signd-fix-SEGV-if-SID-cannot-be-found.patch (text/plain), 1.04 KB, created by
Arvid Requate
on 2012-08-14 12:19:37 UTC
(
hide
)
Description:
git format-patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2012-08-14 12:19:37 UTC
Size:
1.04 KB
patch
obsolete
>From 5c03bacbbcbf892c070f61f07b2d1a795600d4ce Mon Sep 17 00:00:00 2001 >From: Arvid Requate <requate@univention.de> >Date: Tue, 14 Aug 2012 14:16:54 +0200 >Subject: [PATCH] s4:ntp_signd: fix SEGV if SID cannot be found > >--- > source4/ntp_signd/ntp_signd.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/source4/ntp_signd/ntp_signd.c b/source4/ntp_signd/ntp_signd.c >index c6d6056..1de9cc3 100644 >--- a/source4/ntp_signd/ntp_signd.c >+++ b/source4/ntp_signd/ntp_signd.c >@@ -180,8 +180,12 @@ static NTSTATUS ntp_signd_process(struct ntp_signd_connection *ntp_signd_conn, > } > > if (res->count == 0) { >- DEBUG(5, ("Failed to find SID %s in SAM for NTP signing\n", >+ DEBUG(2, ("Failed to find SID %s in SAM for NTP signing\n", > dom_sid_string(mem_ctx, sid))); >+ return signing_failure(ntp_signd_conn, >+ mem_ctx, >+ output, >+ sign_request.packet_id); > } else if (res->count != 1) { > DEBUG(1, ("Found SID %s %u times in SAM for NTP signing\n", > dom_sid_string(mem_ctx, sid), res->count)); >-- >1.7.10.4 >
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 Raw
Actions:
View
Attachments on
bug 9001
:
7656
| 7773