@@ -657,17 +657,20 @@ This section describes the base data types used in messages.
657657<ListItem>
658658<Para>
659659A conventional C '\0' terminated string with no length
660- limitation. A frontend should always read the full string
661- even though it may have to discard characters if its buffers
662- aren't big enough.
660+ limitation.
661+ If <Replaceable>s</Replaceable> is specified it is the literal value.
662+ Eg. String, String("user").
663+ </Para>
664+
663665<Note>
664666<Para>
665- Is 8193 bytes the largest allowed size?
667+ <Emphasis>There is no predefined limit</Emphasis> on the length of a string
668+ that can be returned by the backend. Good coding strategy for a frontend
669+ is to use an expandable buffer so that anything that fits in memory can be
670+ accepted. If that's not feasible, read the full string and discard trailing
671+ characters that don't fit into your fixed-size buffer.
666672</Para>
667673</Note>
668- If <Replaceable>s</Replaceable> is specified it is the literal value.
669- Eg. String, String("user").
670- </Para>
671674</ListItem>
672675</VarListEntry>
673676<VarListEntry>