Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-1.9.git;a=commitdiff;h=4ccca63dee84f91a26c0a77ed2db28b066e5a4df

commit 4ccca63dee84f91a26c0a77ed2db28b066e5a4df
Author: kikadf <[email protected]>
Date:   Fri Jan 10 16:44:11 2014 +0100

libxfont-1.4.5-2arcturus2-x86_64

* Add forgot patch

diff --git 
a/source/x11/libxfont/CVE-2013-XXXX-unlimited-sscanf-can-overflow-stack-bu.patch
 
b/source/x11/libxfont/CVE-2013-XXXX-unlimited-sscanf-can-overflow-stack-bu.patch
new file mode 100644
index 0000000..96d2083
--- /dev/null
+++ 
b/source/x11/libxfont/CVE-2013-XXXX-unlimited-sscanf-can-overflow-stack-bu.patch
@@ -0,0 +1,31 @@
+From b07483b605e77ea475b97d5dc829a7d5eb10a5d6 Mon Sep 17 00:00:00 2001
+From: Alan Coopersmith <[email protected]>
+Date: Mon, 23 Dec 2013 18:34:02 -0800
+Subject: [PATCH:libXfont 1/2] CVE-2013-XXXX: unlimited sscanf can overflow
+ stack buffer in bdfReadCharacters()
+
+Fixes cppcheck warning:
+ [lib/libXfont/src/bitmap/bdfread.c:341]: (warning)
+  scanf without field width limits can crash with huge input data.
+
+Signed-off-by: Alan Coopersmith <[email protected]>
+---
+ src/bitmap/bdfread.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/bitmap/bdfread.c b/src/bitmap/bdfread.c
+index e2770dc..e11c5d2 100644
+--- a/src/bitmap/bdfread.c
++++ b/src/bitmap/bdfread.c
+@@ -338,7 +338,7 @@ bdfReadCharacters(FontFilePtr file, FontPtr pFont, 
bdfFileState *pState,
+       char        charName[100];
+       int         ignore;
+
+-      if (sscanf((char *) line, "STARTCHAR %s", charName) != 1) {
++      if (sscanf((char *) line, "STARTCHAR %99s", charName) != 1) {
+           bdfError("bad character name in BDF file\n");
+           goto BAILOUT;       /* bottom of function, free and return error */
+       }
+--
+1.7.9.2
+
diff --git a/source/x11/libxfont/FrugalBuild b/source/x11/libxfont/FrugalBuild
index 02a131c..c3666f8 100644
--- a/source/x11/libxfont/FrugalBuild
+++ b/source/x11/libxfont/FrugalBuild
@@ -4,7 +4,7 @@
pkgname=libxfont
_F_xorg_name=libXfont
pkgver=1.4.5
-pkgrel=2arcturus1
+pkgrel=2arcturus2
pkgdesc="X font Library"
url="http://xorg.freedesktop.org";
groups=('x11' 'xorg-core' 'xorg-libs')
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to