1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00
Joseph Sutton 633ebe1b3e s4:kdc: Make a proper shallow copy of the auth_user_info_dc structure
Just copying the structure fields is prone to lead to use-after-frees if
we access them after the original structure and its fields are freed.

Instead, call authsam_shallow_copy_user_info_dc() to make the copy. This
properly references the fields in the original structure so that they
will not be freed until we are sure we have finished with them.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-05-18 01:03:37 +00:00
..
2023-04-12 13:52:31 +00:00
2023-05-18 01:03:37 +00:00
2023-02-08 00:03:39 +00:00
2023-05-18 01:03:37 +00:00
2023-05-18 01:03:37 +00:00
2023-05-18 01:03:37 +00:00