changed to use slprintf() instead of sprintf() just about
authorAndrew Tridgell <tridge@samba.org>
Mon, 11 May 1998 06:38:36 +0000 (06:38 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 11 May 1998 06:38:36 +0000 (06:38 +0000)
commitee09e9dadb69aaba5a751dd20ccc6d587d841bd6
treeb7d08dcf7d06d74c7bba90655f720c14cff8981a
parent6b0c1733d2ebf3b8f09f3bf88b8648d8b371bb1f
changed to use slprintf() instead of sprintf() just about
everywhere. I've implemented slprintf() as a bounds checked sprintf()
using mprotect() and a non-writeable page.

This should prevent any sprintf based security holes.
33 files changed:
source/client/client.c
source/client/clitar.c
source/client/smbmount.c
source/include/includes.h
source/include/proto.h
source/lib/charset.c
source/lib/pidfile.c
source/lib/slprintf.c [new file with mode: 0644]
source/lib/system.c
source/lib/util.c
source/lib/util_hnd.c
source/libsmb/clientgen.c
source/libsmb/nmblib.c
source/locking/shmem_sysv.c
source/nmbd/nmbd.c
source/nmbd/nmbd_serverlistdb.c
source/param/loadparm.c
source/passdb/smbpass.c
source/printing/printing.c
source/rpc_client/cli_login.c
source/rpc_client/cli_netlogon.c
source/rpc_client/cli_pipe.c
source/rpc_parse/parse_net.c
source/rpc_parse/parse_prs.c
source/rpc_server/srv_lsa_hnd.c
source/rpc_server/srv_netlog.c
source/smbd/message.c
source/smbd/password.c
source/smbd/reply.c
source/smbd/server.c
source/smbd/trans2.c
source/smbd/uid.c
source/utils/smbpasswd.c