Assert that eMessageText MUST be serialized last.
authorArt Cancro <ajc@citadel.org>
Fri, 26 Jan 2024 21:51:39 +0000 (16:51 -0500)
committerArt Cancro <ajc@citadel.org>
Fri, 26 Jan 2024 21:51:39 +0000 (16:51 -0500)
commitcd6c194901557e9e068643d01d117a7824d36533
treecb7ccb283e0ff13a9133d427203990091720c1b7
parent5d3c7139faafbfdc5db4b45bdf9ef7105d4593b1
Assert that eMessageText MUST be serialized last.

Also assert that the calculated length of the serialized message
is actually the final length.  Either of these conditions not
being true is worth crashing the server so the developer who broke
it knows immediately.
citadel/server/msgbase.c
citadel/server/msgbase.h
citadel/server/server.h