From 49987cb8750e9e97c52bcfb225a17d361b6e9453 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Thu, 2 Oct 2008 19:13:48 +0000 Subject: [PATCH] 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 --- src/kim/lib/mac/kim_os_ui_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.26.2