The Samba-Bugzilla – Attachment 16440 Details for
Bug 12505
smbd will crash if keytab do not exist and SMB session is requested
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch cherry-picked from master
0001-HEIMDAL-krb5_storage_free-NULL-should-work.patch (text/plain), 1.12 KB, created by
Andrew Bartlett
on 2021-02-10 00:57:52 UTC
(
hide
)
Description:
patch cherry-picked from master
Filename:
MIME Type:
Creator:
Andrew Bartlett
Created:
2021-02-10 00:57:52 UTC
Size:
1.12 KB
patch
obsolete
>From b539b06d60faf9613781e5b022349326bc3eb627 Mon Sep 17 00:00:00 2001 >From: Paul Wise <pabs3@bonedaddy.net> >Date: Mon, 29 Feb 2016 11:58:45 -0600 >Subject: [PATCH] HEIMDAL: krb5_storage_free(NULL) should work > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12505 > >Signed-off-by: Paul Wise <pabs3@bonedaddy.net> >Reviewed-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Andrew Bartlett <abartlet@samba.org> >Original-author: Nicolas Williams <nico@twosigma.com> >(cherry-picked from heimdal commit b3db07d5f0e03f6a1a0a392e70f9675e19a6d6af) >(cherry picked from commit f9ed4f7028a5ed29026ac8ef1b47b63755ba98f8) >--- > source4/heimdal/lib/krb5/store.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/source4/heimdal/lib/krb5/store.c b/source4/heimdal/lib/krb5/store.c >index 17de78e9e74..31afb23c983 100644 >--- a/source4/heimdal/lib/krb5/store.c >+++ b/source4/heimdal/lib/krb5/store.c >@@ -270,6 +270,8 @@ krb5_storage_get_eof_code(krb5_storage *sp) > KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL > krb5_storage_free(krb5_storage *sp) > { >+ if (sp == NULL) >+ return 0; > if(sp->free) > (*sp->free)(sp); > free(sp->data); >-- >2.25.1 >
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
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 12505
:
12808
| 16440