From f6df2b5b4562c31f0d031471943163b9fc751ac5 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sat, 16 Mar 2024 18:45:11 -0700 Subject: [PATCH] add note about C4 crash --- src/CommandFormats.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CommandFormats.hh b/src/CommandFormats.hh index 2c65aeef..d081af67 100644 --- a/src/CommandFormats.hh +++ b/src/CommandFormats.hh @@ -2491,6 +2491,9 @@ struct C_CreateGame_BB_C1 : C_CreateGame { // C4 (S->C): Choice search results (DCv2 and later versions) // Internal name: RcvChoiceAns +// There is a bug that can cause the client to crash or display garbage if this +// command is sent with no entries. To work around this, newserv sends a blank +// entry (but still with header.flag = 0) if there are no results. // Command is a list of these; header.flag is the entry count template