From: Alexandra Ellwood Date: Thu, 2 Oct 2008 19:13:48 +0000 (+0000) Subject: Don't write NULL name and path over stream. Just send empty strings X-Git-Tag: krb5-1.7-alpha1~356 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=49987cb8750e9e97c52bcfb225a17d361b6e9453;p=krb5.git Don't write NULL name and path over stream. Just send empty strings ticket: 6055 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20815 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kim/lib/mac/kim_os_ui_gui.c b/src/kim/lib/mac/kim_os_ui_gui.c index 1b309b2e7..0b8096fcb 100644 --- a/src/kim/lib/mac/kim_os_ui_gui.c +++ b/src/kim/lib/mac/kim_os_ui_gui.c @@ -81,11 +81,11 @@ kim_error kim_os_ui_gui_init (kim_ui_context *io_context) } if (!err) { - err = k5_ipc_stream_write_string (request, name); + err = k5_ipc_stream_write_string (request, name ? name : ""); } if (!err) { - err = k5_ipc_stream_write_string (request, path); + err = k5_ipc_stream_write_string (request, path ? path : ""); } if (!err) {