1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00
Douglas Bagnall a091a30a5b shadow_copy_get_shadow_copy_data: fix GCC snprintf warning
GCC 7 warns about snprintf truncating a dirent d_name (potentially 255 bytes) to 25 bytes,
even though we have checked that it is 25 long in shadow_copy_match_name().

Using strlcpy instead of snprintf lets us check it again, JUST TO BE SURE.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2017-02-10 05:09:09 +01:00
..
2015-12-18 05:24:25 +01:00
2012-03-24 16:41:35 +01:00
2016-11-20 06:23:19 +01:00
2015-07-10 09:35:13 +02:00
2014-09-29 10:52:47 +02:00
2015-11-06 13:43:45 +01:00
2017-01-01 13:47:26 +01:00
2016-04-15 15:32:11 +02:00