Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#30 lsdvd 0.15 xml output generating glibc free errors

open
nobody
None
5
2006-01-05
2006-01-05
Matt Albrecht
No

When I run "lsdvd -Ox -x", I get the glibc error:

*** glibc detected *** free(): invalid next size
(fast): 0x08071368 ***

I was able to fix the issue and streamline the code a
bit by modifying oxml.c to remove the malloc and string
copy:

int XMLBOX_(char *name) {
XMLINDENT;
printf("<%s>\n", name);
_xlvl++;
_xlvl_type[_xlvl] = name;
}

void XMLRETURN_() {
_xlvl--;
XMLINDENT;
printf("</%s>\n", _xlvl_type[_xlvl+1]);
}

Discussion