• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From 524654ed3c85e356261fc52533d86d43005a0420 Mon Sep 17 00:00:00 2001
2From: Nick Wellnhofer <wellnhofer@aevum.de>
3Date: Sun, 26 Feb 2023 17:19:47 +0100
4Subject: [PATCH] xpath: Fix harmless integer overflow in
5 xmlXPathTranslateFunction
6
7
8Reference:https://github.com/GNOME/libxml2/commit/524654ed3c85e356261fc52533d86d43005a0420
9Conflict:NA
10---
11 xpath.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/xpath.c b/xpath.c
15index b6a3983..d17ad5e 100644
16--- a/xpath.c
17+++ b/xpath.c
18@@ -9351,7 +9351,7 @@ xmlXPathTranslateFunction(xmlXPathParserContextPtr ctxt, int nargs) {
19     xmlXPathObjectPtr to;
20     xmlBufPtr target;
21     int offset, max;
22-    xmlChar ch;
23+    int ch;
24     const xmlChar *point;
25     xmlChar *cptr;
26
27--
282.27.0
29
30