diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-08-15 12:06:36 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-08-15 12:06:36 +0000 |
commit | d3d067280e88b0e5a976ad431c13320311a7a770 (patch) | |
tree | 9875798a0ff259a225463daf670671110ccc28e1 /debugXML.c | |
parent | ecb6f5bda5f319efe726165833b33b953a09f4a5 (diff) | |
download | android_external_libxml2-d3d067280e88b0e5a976ad431c13320311a7a770.tar.gz android_external_libxml2-d3d067280e88b0e5a976ad431c13320311a7a770.tar.bz2 android_external_libxml2-d3d067280e88b0e5a976ad431c13320311a7a770.zip |
deprecate the non-boundchecking Sprintf functions, add Snprintf this
* include/libxml/valid.h debugXML.c valid.c: deprecate
the non-boundchecking Sprintf functions, add Snprintf
this should close bug #57984
Daniel
Diffstat (limited to 'debugXML.c')
-rw-r--r-- | debugXML.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -264,7 +264,7 @@ xmlDebugDumpElemDecl(FILE *output, xmlElementPtr elem, int depth) { char buf[5001]; buf[0] = 0; - xmlSprintfElementContent(buf, elem->content, 1); + xmlSnprintfElementContent(buf, 5000, elem->content, 1); buf[5000] = 0; fprintf(output, "%s", buf); } |