]> granicus.if.org Git - sudo/commit
Implement memset_s() and use it instead of zero_bytes().
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 3 Aug 2013 14:30:06 +0000 (08:30 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 3 Aug 2013 14:30:06 +0000 (08:30 -0600)
commit1f3ea50afd89baf6c6557b42a3971e67bc838f6b
tree11619bd0386b962011b84d540b8d2b08fdee8a90
parent8c867be419a0dc450a23816d215d61f7001d35cd
Implement memset_s() and use it instead of zero_bytes().
A new constant, SUDO_CONV_REPL_MAX, is defined by the plugin
API as the max conversation reply length.  This constant can be
used as a max value for memset_s() when clearing passwords
filled in by the conversation function.
34 files changed:
MANIFEST
common/Makefile.in
common/zero_bytes.c [deleted file]
compat/Makefile.in
compat/memset_s.c [new file with mode: 0644]
config.h.in
configure
configure.in
doc/sudo_plugin.cat
doc/sudo_plugin.man.in
doc/sudo_plugin.mdoc.in
include/missing.h
include/sudo_plugin.h
mkdep.pl
plugins/sudoers/Makefile.in
plugins/sudoers/auth/aix_auth.c
plugins/sudoers/auth/bsdauth.c
plugins/sudoers/auth/fwtk.c
plugins/sudoers/auth/pam.c
plugins/sudoers/auth/passwd.c
plugins/sudoers/auth/secureware.c
plugins/sudoers/auth/sudo_auth.c
plugins/sudoers/defaults.c
plugins/sudoers/logging.c
plugins/sudoers/sha2.c
plugins/sudoers/sudoers.c
plugins/sudoers/sudoers.h
plugins/sudoers/tsgetgrpw.c
plugins/sudoers/visudo.c
src/Makefile.in
src/conversation.c
src/sudo.h
src/sudo_edit.c
src/tgetpass.c