From 5658fb236a6886908162e54194973ded2f89f825 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 3 Feb 2009 23:13:59 +0000 Subject: [PATCH] ! create strbufs before accessing them --- webcit/roomops.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webcit/roomops.c b/webcit/roomops.c index 7b3a39617..40c8a3aab 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -2148,6 +2148,12 @@ void editroom(void) FreeStrBuf(&Buf); return; } + + er_name = NewStrBuf(); + er_password = NewStrBuf(); + er_dirname = NewStrBuf(); + er_roomaide = NewStrBuf(); + StrBufCutLeft(Buf, 4); StrBufExtract_token(er_name, Buf, 0, '|'); StrBufExtract_token(er_password, Buf, 1, '|'); -- 2.39.2