diff options
author | Jeff King <peff@peff.net> | 2011-12-10 05:40:45 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-12 16:09:38 -0800 |
commit | 50d0158fbba5c4cd04184bb757bf43a84c290405 (patch) | |
tree | 25066f3cd87576fda794d9f3fb71d59db9a28d94 /Documentation/technical | |
parent | 861444f6d702b15713d0875ce9dc5aff64885fba (diff) | |
download | git-50d0158fbba5c4cd04184bb757bf43a84c290405.tar.gz git-50d0158fbba5c4cd04184bb757bf43a84c290405.tar.xz |
imap-send: avoid buffer overflow
We format the password prompt in an 80-character static
buffer. It contains the remote host and username, so it's
unlikely to overflow (or be exploitable by a remote
attacker), but there's no reason not to be careful and use
a strbuf.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
0 files changed, 0 insertions, 0 deletions