1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00
Jeremy Allison 14df5d20a8 s3: RPC: Don't crash on trying to talloc_free(-1) if smb_iconv_open_ex() fails.
Assign output from smb_iconv_open_ex() to a temporary
handle. Only assign to mds_ctx->[handles] if correctly
opened otherwise we end up trying to call smb_iconv_close(-1).

MacOSX Catalina triggers this.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14372

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu May  7 18:03:16 UTC 2020 on sn-devel-184
2020-05-07 18:03:16 +00:00
..
2019-08-09 07:34:04 +00:00
2015-07-07 17:34:28 +02:00

Introduction:
=============
This directory contains source code for the metadata search service
aka Spotlight.

Bison and flex:
===============
Not yet integrated into the waf buildsystem, run these by hand:

$ bison -d -o sparql_parser.c sparql_parser.y
$ flex -o sparql_lexer.c sparql_lexer.l

or use the bundled Makefile.