openat_pathref_fsp() eventually calls mangling functions, so we have
to initialize them.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=15807
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit
0a9946258eb4587f5c132805d7c44062c377f375)
struct smb_filename cwd_fname = {0};
int ret;
+ mangle_reset_cache();
+
if (!posix_locking_init(false)) {
PyErr_NoMemory();
return NULL;