Skip to content

round robin buffering is asking for trouble #22

@illwieckz

Description

@illwieckz

as @stevenh said in comments of #13 about this code:

char *xml_escape(char *string)
{
    static unsigned char _buf[4][MAXSTRLEN + 8];

The use of this sort of round robin buffering is asking for trouble.

This code is there since the initial revision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions