Chameleon

Chameleon Commit Details

Date:2013-05-15 01:56:42 (10 years 11 months ago)
Author:ErmaC
Commit:2226
Parents: 2225
Message:- Preparing update for HDAEnabler module. - Fix invalid pointer into XML parser credits to julianpid.
Changes:
D/trunk/i386/modules/HDAEnabler/HDAEnabler.dylib
M/trunk/i386/libsaio/xml.c

File differences

trunk/i386/libsaio/xml.c
4646
4747
4848
49
49
5050
5151
5252
......
971971
972972
973973
974
974
975975
976976
977977
}
tmp = tmp->next;
}
string_ref* new_ref = malloc(sizeof(string_ref));
new_ref->string = malloc(strlen(string)+1);
sprintf(new_ref->string, "%s", string);
#if DOFREE
if (tag == 0) return;
if (tag->string) FreeSymbol(tag->string);
if (!XMLIsInteger(tag) && tag->string) FreeSymbol(tag->string);
XMLFreeTag(tag->tag);
XMLFreeTag(tag->tagNext);

Archive Download the corresponding diff file

Revision: 2226