]> git.ipfire.org Git - thirdparty/samba.git/commit
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)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 May 2020 13:11:37 +0000 (13:11 +0000)
commitd1b03ef8ddc9ec84e52e6155fd510e601f043b20
tree4d7068a2a0b7d24cb9d99296da7dbd75d8e4c569
parentcb50ee7a4239e2e13b1c621cd7a3826ff123f84a
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

(cherry picked from commit dd1f750293ef4361455a5d5b63fc7a89495715b7)
lib/util/util_paths.c