Package: tdom / 0.8.3-1

Metadata

Package Version Patches format
tdom 0.8.3-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 shared expat.patch | (download)

configure | 7272 3923 + 3349 - 0 !
configure.in | 13 8 + 5 - 0 !
generic/dom.c | 25 21 + 4 - 0 !
generic/dom.h | 7 7 + 0 - 0 !
generic/domxslt.c | 12 10 + 2 - 0 !
generic/tcldom.c | 25 21 + 4 - 0 !
generic/tclexpat.c | 25 21 + 4 - 0 !
generic/tdomDecls.h | 23 23 + 0 - 0 !
tdom.m4 | 67 61 + 6 - 0 !
9 files changed, 4095 insertions(+), 3374 deletions(-)

 tdom is distributed with a bundled version of expat (2.0.1). this is not acceptable in the realm of debian packaging. therefore, this patchs adds support for shared expat version (libexpat1) as provided by the debian collection of packages. once patched, one may use the "--with-expat" configure flag to point to a shared expat library. in addition, it renders tdom indepedent from being either built against expat 1.95.* or expat 2.* as it offers appropriate preprocessor conditionals (this applies to both, the bundled and shared scenario).

02 kfreebsd.patch | (download)

configure | 2 1 + 1 - 0 !
extensions/tnc/configure | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

---
03 tcl8.6 compat.patch | (download)

generic/dom.h | 8 8 + 0 - 0 !
generic/tcldom.c | 2 1 + 1 - 0 !
2 files changed, 9 insertions(+), 1 deletion(-)

 compatibility with tcl 8.6 - beginning with 8.6, interp->errorline
 isn't public visible anymore (TIP 330).


04 xpath.patch | (download)

lib/tdom.tcl | 38 21 + 17 - 0 !
1 file changed, 21 insertions(+), 17 deletions(-)

  the xpath function element-available() should, according to the rec,
 return true "if and only if the <argument> is the name of an
 instruction". That is, not for all known XSLT elements.

05 pkgindex.patch | (download)

Makefile.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 added missing space in target pkgindex.tcl-hand. thanks to gustaf
 Neumann for reporting the problem and providing a fix.

06 memcpy.patch | (download)

generic/domxslt.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fixed wrong size on memcpy on 64 bit (when sizeof(int)!=sizeof(int*)) 

07 CVE 2009 3720.patch | (download)

expat/xmltok_impl.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix for possible dos attack (see cve-2009-3720)