Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 libxml2 (2.9.4.6.2-1+dde) unstable; urgency=medium
 .
   * fix CVE-2022-29824
   * Fix integer overflows in xmlBuf and xmlBuffer
Author: liaoyuan <liaoyuan@uniontech.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2022-10-11

--- libxml2-2.9.4.6.2.orig/encoding.c
+++ libxml2-2.9.4.6.2/encoding.c
@@ -48,6 +48,8 @@
 #include "buf.h"
 #include "enc.h"
 
+#define TRUE 1
+
 static xmlCharEncodingHandlerPtr xmlUTF16LEHandler = NULL;
 static xmlCharEncodingHandlerPtr xmlUTF16BEHandler = NULL;
 
