gnupg/sm
Werner Koch d8eea25b8b gpg: Fix buffering problem in --list-config.
* g10/gpg.c (list_config): Replace print_sanitized_string2 by
es_write_sanitized.

* common/stringhelp.c (print_sanitized_buffer2): Remove.
(print_sanitized_buffer, print_sanitized_utf8_buffer): Remove.
(print_sanitized_utf8_buffer, print_sanitized_utf8_string): Remove.
(print_sanitized_string): Remove.

* sm/certdump.c (print_dn_part, print_dn_parts): Remove arg FP.
(pretty_print_sexp, gpgsm_print_name2, gpgsm_print_name): Remove.
--

Mixing stdio and estream is never a good idea.  This fix also allows
us to remove a lot of garbage.

Reported-by: Jason A. Donenfeld <Jason@zx2c4.com>
GnuPG-bug-id: 1822
Signed-off-by: Werner Koch <wk@gnupg.org>
2015-01-28 20:12:21 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Remove use of gnulib (part 1) 2014-11-11 10:13:10 +01:00
base64.c Fix faulty gcc warnings 2011-03-03 12:40:54 +01:00
call-agent.c Add option --no-autostart. 2014-11-28 09:44:19 +01:00
call-dirmngr.c Add option --no-autostart. 2014-11-28 09:44:19 +01:00
certchain.c Use a unique capitalization for "Note:". 2014-10-10 15:29:42 +02:00
certcheck.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
certdump.c gpg: Fix buffering problem in --list-config. 2015-01-28 20:12:21 +01:00
certlist.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
certreqgen-ui.c sm: Silence compiler warnings. 2014-09-18 15:17:44 +02:00
certreqgen.c sm: Silence compiler warnings. 2014-09-18 15:17:44 +02:00
decrypt.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
delete.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
encrypt.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
export.c gpgsm: New commands --export-secret-key-{p8,raw} 2014-06-03 18:57:33 +02:00
fingerprint.c Avoid sign extension when shifting the MSB. 2014-11-05 08:23:15 +01:00
gpgsm-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpgsm.c Add a hook to be called right after main. 2015-01-28 19:57:22 +01:00
gpgsm.h Add option --no-autostart. 2014-11-28 09:44:19 +01:00
import.c Fix regression in gpg's mail address parsing. 2011-04-25 23:59:25 +02:00
keydb.c kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keydb.h gpgsm: Add a way to save a found state. 2014-06-02 15:55:00 +02:00
keylist.c Add new option --with-secret. 2014-06-03 21:35:59 +02:00
minip12.c sm: Simplify fix ed8383c6 2015-01-26 17:56:52 +01:00
minip12.h gpgsm: New commands --export-secret-key-{p8,raw} 2014-06-03 18:57:33 +02:00
misc.c sm,g13: Init local vars to avoid compiler warnings. 2015-01-05 15:15:37 +01:00
qualified.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
server.c Remove support for the GPG_AGENT_INFO envvar. 2014-10-03 11:58:58 +02:00
sign.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
verify.c gpg,sm: Remove unnecessary duplicated checks 2015-01-23 15:30:03 +01:00