The branch, master has been updated via aa4d135710e s3: lib: Fix missing TALLOC_FREE in error code path. from 965d1888008 net: ignore possible SIGPIPE upon ldap_unbind when over TLS
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit aa4d135710e0fdcf92f522b3c6228717105c0775 Author: Jeremy Allison <j...@samba.org> Date: Mon Jul 13 10:08:47 2020 -0700 s3: lib: Fix missing TALLOC_FREE in error code path. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14441 Reported by Alexander Pyhalov <apyha...@gmail.com> Signed-off-by: Jeremy Allison <j...@samba.org> Reviewed-by: Andreas Schneider <a...@samba.org> Autobuild-User(master): Andreas Schneider <a...@cryptomilk.org> Autobuild-Date(master): Tue Jul 14 07:42:54 UTC 2020 on sn-devel-184 ----------------------------------------------------------------------- Summary of changes: lib/util/util_paths.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/lib/util/util_paths.c b/lib/util/util_paths.c index 72cc0aab8de..8ac85460fba 100644 --- a/lib/util/util_paths.c +++ b/lib/util/util_paths.c @@ -106,7 +106,7 @@ static char *get_user_home_dir(TALLOC_CTX *mem_ctx) } len = strnlen(szPath, PATH_MAX); if (len >= PATH_MAX) { - return NULL; + goto done; } out = talloc_strdup(mem_ctx, szPath); goto done; -- Samba Shared Repository