1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00
Andrew Walker e9a804c9bd s3:param:py_param - allocate buffer for nt_name and comment
nt_name and comment are allocated via talloc_strdup(). Length
is not guaranteed to be sizeof(fstring) and so rather than use
fstrcpy into a possibly NULL buffer, free original string, then
talloc_strdup() the one provided to us.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu May 27 22:07:45 UTC 2021 on sn-devel-184
2021-05-27 22:07:45 +00:00
..
2019-02-28 12:57:24 +00:00
2020-01-30 12:27:40 +00:00
2018-12-20 23:40:24 +01:00
2018-12-20 23:40:24 +01:00
2020-08-17 19:35:38 +00:00
2020-08-17 19:35:38 +00:00
2018-12-20 23:40:24 +01:00