The Samba-Bugzilla – Attachment 10232 Details for
Bug 10782
mangle_hash() can fail to initialize charset (smbd crash).
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.1.next and 4.0.next.
0002-smbd-Properly-initialize-mangle_hash.patch (text/plain), 1.12 KB, created by
Jeremy Allison
on 2014-08-26 22:40:19 UTC
(
hide
)
Description:
git-am fix for 4.1.next and 4.0.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2014-08-26 22:40:19 UTC
Size:
1.12 KB
patch
obsolete
>From e914c2c52db7ecf3bb2a3860820c5cfe8812696e Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Tue, 19 Aug 2014 14:32:15 +0000 >Subject: [PATCH 2/2] smbd: Properly initialize mangle_hash > >[Bug 10782] mangle_hash() can fail to initialize charset (smbd crash). > >https://bugzilla.samba.org/show_bug.cgi?id=10782 > >Signed-off-by: Volker Lendecke <vl@samba.org> >Reviewed-by: Jeremy Allison <jra@samba.org> > >Autobuild-User(master): Jeremy Allison <jra@samba.org> >Autobuild-Date(master): Tue Aug 26 01:30:38 CEST 2014 on sn-devel-104 >--- > source3/smbd/mangle_hash.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/source3/smbd/mangle_hash.c b/source3/smbd/mangle_hash.c >index 994f79f..5daac62 100644 >--- a/source3/smbd/mangle_hash.c >+++ b/source3/smbd/mangle_hash.c >@@ -767,6 +767,10 @@ const struct mangle_fns *mangle_hash_init(void) > { > mangle_reset(); > >+ if (chartest == NULL) { >+ init_chartest(); >+ } >+ > /* Create the in-memory tdb using our custom hash function. */ > tdb_mangled_cache = tdb_open_ex("mangled_cache", 1031, TDB_INTERNAL, > (O_RDWR|O_CREAT), 0644, NULL, fast_string_hash); >-- >2.1.0.rc2.206.gedb03e5 >
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:
vl
:
review+
Actions:
View
Attachments on
bug 10782
:
10223
|
10224
|
10225
| 10232