From 2bce2cf6d83d9889d8b116f9d2ee254b7ceb4828 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 28 Oct 1998 18:32:34 +0000 Subject: Added clear-out-structure fix for make_unistr2. Jeremy. --- source/rpc_parse/parse_misc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/rpc_parse') diff --git a/source/rpc_parse/parse_misc.c b/source/rpc_parse/parse_misc.c index 4cb606688d4..0f242c47384 100644 --- a/source/rpc_parse/parse_misc.c +++ b/source/rpc_parse/parse_misc.c @@ -475,6 +475,8 @@ creates a UNISTR2 structure. ********************************************************************/ void make_unistr2(UNISTR2 *str, char *buf, int len) { + ZERO_STRUCTP(str); + /* set up string lengths. */ str->uni_max_len = len; str->undoc = 0; -- cgit v1.2.1