]> 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 16:07:51 +0000 (16:07 +0000)
commit55a3861260c4146607675f1fcaac7054670ee0a5
treec97e3843a6a21af7698a9814cd546a532c7c2ea4
parent54151c2d84ee491c3a9bb357692e14f3af55b0b1
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)

Autobuild-User(v4-10-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-10-test): Fri May 22 16:07:51 UTC 2020 on sn-devel-144
lib/util/util_paths.c