s3: lib: Paranoia around use of snprintf copying into a fixed-size buffer from a...
authorJeremy Allison <jra@samba.org>
Fri, 15 May 2020 19:18:02 +0000 (12:18 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 18 May 2020 23:42:57 +0000 (23:42 +0000)
commitdd1f750293ef4361455a5d5b63fc7a89495715b7
treee65e84d6ee3f6200df2aee206b4543e04c6b985b
parentf98b766d94a778fa2194f3c46a8302fe697499f0
s3: lib: Paranoia around use of snprintf copying into a fixed-size buffer from a getenv() pointer.

Post checks for overflow/error.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon May 18 23:42:57 UTC 2020 on sn-devel-184
lib/util/util_paths.c