Version in base suite: 0.52.2-10 Version in overlay suite: (not present) Base version: newt_0.52.2-10 Target version: newt_0.52.2-10+etch1 Base file: /org/ftp.debian.org/ftp/pool/main/n/newt/newt_0.52.2-10.dsc Target file: /org/ftp.debian.org/queue/o-p-u-new/newt_0.52.2-10+etch1.dsc debian/patches/600_CVE-2009-2905.patch | 11 +++++++++++ newt-0.52.2/debian/changelog | 8 ++++++++ 2 files changed, 19 insertions(+) diff -u newt-0.52.2/debian/changelog newt-0.52.2/debian/changelog --- newt-0.52.2/debian/changelog +++ newt-0.52.2/debian/changelog @@ -1,3 +1,11 @@ +newt (0.52.2-10+etch1) oldstable-security; urgency=high + + * Non-maintainer upload by the security team + * Include patch to fix buffer overflow in content processing code + Fixes: CVE-2009-2905 + + -- Steffen Joeris Tue, 22 Sep 2009 14:52:22 +0200 + newt (0.52.2-10) unstable; urgency=low * Correction to Slovenian translation: thanks to Matej Kovacic. only in patch2: unchanged: --- newt-0.52.2.orig/debian/patches/600_CVE-2009-2905.patch +++ newt-0.52.2/debian/patches/600_CVE-2009-2905.patch @@ -0,0 +1,11 @@ +--- textbox.c.old 2009-09-22 11:31:37.000000000 +0000 ++++ newt-0.52.2/textbox.c 2009-09-22 11:31:47.000000000 +0000 +@@ -177,7 +177,7 @@ + + if (resultPtr) { + /* XXX I think this will work */ +- result = malloc(strlen(text) + (strlen(text) / width) + 2); ++ result = malloc(strlen(text) + (strlen(text) / (width - 1)) + 2); + *result = '\0'; + } +