1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00
Noel Power d94cbb10b8 s3/utils: avoid erronous NO MEMORY detection
since 5cc3c1b5f6b0289f91c01b20989558badc28fd61 if we don't have
a realm specified either on cmdline or in conf file we try to
copy (talloc_strdup) a NULL variable which triggers a NO_MEMORY
error when we check the result of the copy

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Jun  4 12:42:16 UTC 2023 on atb-devel-224

(cherry picked from commit 22ab42c1007775abca0b578744d4c18a85cda627)

Autobuild-User(v4-17-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-17-test): Wed Aug  2 11:45:00 UTC 2023 on sn-devel-184
2023-08-02 11:45:00 +00:00
..
2020-04-18 04:12:48 +00:00
2020-04-18 04:12:48 +00:00
2021-08-06 17:22:30 +00:00
2018-12-20 23:40:23 +01:00
2020-11-10 19:49:35 +00:00
2021-04-21 20:51:31 +00:00
2021-10-04 10:43:37 +00:00
2021-12-10 14:02:30 +00:00
2023-06-28 21:03:31 +00:00
2021-03-16 17:09:32 +00:00
2022-08-16 18:27:13 +00:00