Projekt

Allgemein

Profil

Bug #277 » 0001-xmlcmd_lxml.c-use-GWEN_Text_strndup.patch

wrobelda, 25.08.2022 22:56

Unterschiede anzeigen:

src/xmlcmd/xmlcmd_lxml.c
#include "xmlcmd_lxml_p.h"
#include <gwenhywfar/debug.h>
#include <gwenhywfar/text.h>
#include <ctype.h>
......
int idx;
idx=s-source;
ts->string1=strndup(source, idx);
ts->string1=GWEN_Text_strndup(source, idx);
ts->ownStringsBitmap|=1;
s++;
if (s &&*s)
    (1-1/1)