1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 551936_CVE_2009_2625.dpatch by Daniel Leidert (dale) <daniel.leidert@wgdd.de>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: A vulnarability allows remote attackers to cause a denial of service
6
## DP: infinite loop and application hang) via malformed XML input.
8
## DP: <URL:http://bugs.debian.org/551936>
9
## DP: <URL:http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2625>
10
## DP: <URL:http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmltok_impl.c?r1=1.15&r2=1.13>
13
diff -urNad trunk~/lib/xmltok_impl.c trunk/lib/xmltok_impl.c
14
--- trunk~/lib/xmltok_impl.c 2006-11-26 18:34:46.000000000 +0100
15
+++ trunk/lib/xmltok_impl.c 2009-10-22 21:42:41.000000000 +0200
20
- while (ptr != end) {
22
switch (BYTE_TYPE(enc, ptr)) {
23
#define LEAD_CASE(n) \