[Expat-discuss] Cannot parse simple xml
Fred L. Drake, Jr.
fdrake at acm.org
Wed Aug 11 20:33:35 CEST 2004
On Wednesday 11 August 2004 02:10 pm, Jez Higgins wrote:
> Looks to me like your buffer is too small. Your XML doc is over 100
> chars long, so it's just luck the you haven't smashed the stack with
> that strcpy.
Nice catch!
Another possibility is to avoid the copy completely, but that might be more
tedious in the real application.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
More information about the Expat-discuss
mailing list