The Samba-Bugzilla – Attachment 17412 Details for
Bug 15118
Crash in rpcd_classic - NULL pointer deference in mangle_is_mangled()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Potential patch
bug-15118.txt (text/plain), 1.69 KB, created by
Volker Lendecke
on 2022-07-08 12:16:47 UTC
(
hide
)
Description:
Potential patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2022-07-08 12:16:47 UTC
Size:
1.69 KB
patch
obsolete
>From b929170a15dc6ec755574c68b0b18a1b19254d0b Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Fri, 8 Jul 2022 14:14:22 +0200 >Subject: [PATCH] rpc_server3: Initialize mangle_fns in classic and spoolss > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=15118 >Signed-off-by: Volker Lendecke <vl@samba.org> >--- > source3/rpc_server/rpcd_classic.c | 3 +++ > source3/rpc_server/rpcd_spoolss.c | 3 +++ > 2 files changed, 6 insertions(+) > >diff --git a/source3/rpc_server/rpcd_classic.c b/source3/rpc_server/rpcd_classic.c >index d3607d2e19c..4f6164c814c 100644 >--- a/source3/rpc_server/rpcd_classic.c >+++ b/source3/rpc_server/rpcd_classic.c >@@ -33,6 +33,7 @@ > #include "librpc/gen_ndr/ndr_initshutdown_scompat.h" > #include "source3/include/secrets.h" > #include "locking/share_mode_lock.h" >+#include "source3/smbd/proto.h" > > static size_t classic_interfaces( > const struct ndr_interface_table ***pifaces, >@@ -81,6 +82,8 @@ static size_t classic_servers( > > lp_load_with_shares(get_dyn_CONFIGFILE()); > >+ mangle_reset_cache(); >+ > *_ep_servers = ep_servers; > return ARRAY_SIZE(ep_servers); > } >diff --git a/source3/rpc_server/rpcd_spoolss.c b/source3/rpc_server/rpcd_spoolss.c >index 733e70764a5..16b4667cd02 100644 >--- a/source3/rpc_server/rpcd_spoolss.c >+++ b/source3/rpc_server/rpcd_spoolss.c >@@ -24,6 +24,7 @@ > #include "source3/printing/queue_process.h" > #include "source3/include/messages.h" > #include "source3/include/secrets.h" >+#include "source3/smbd/proto.h" > > static size_t spoolss_interfaces( > const struct ndr_interface_table ***pifaces, >@@ -68,6 +69,8 @@ static size_t spoolss_servers( > exit(1); > } > >+ mangle_reset_cache(); >+ > *_ep_servers = ep_servers; > return ARRAY_SIZE(ep_servers); > } >-- >2.30.2 >
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 15118
: 17412 |
17417