diff options
author | Mihai Moldovan <ionic@ionic.de> | 2015-02-16 09:35:47 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-16 10:04:20 +0100 |
commit | ae898ff13b4782239a152b43125aa1fc0b80ba3d (patch) | |
tree | 71a2caafcc254779ebdd9d0ba0a21934487b3ca6 /debian/patches/1041-nx-X11-lib-font-fc-fserve.c-initialize-remaining-buf.patch | |
parent | f74f59d2f3962b227753d5eb0ecc1af82f41dbbc (diff) | |
download | nx-libs-ae898ff13b4782239a152b43125aa1fc0b80ba3d.tar.gz nx-libs-ae898ff13b4782239a152b43125aa1fc0b80ba3d.tar.bz2 nx-libs-ae898ff13b4782239a152b43125aa1fc0b80ba3d.zip |
CVE security review [1/2].
* CVE security review [1/2]:
- Update 1007-CVE-2014-0210-unvalidated-length-in-_fs_recv_conn_se.patch.
Use xfree() instead of free() in nx-libs.
- Update 1011-CVE-2014-0210-unvalidated-length-fields-in-fs_read_q.patch.
Apply correctly on nx-libs 3.6.x.
- Update 1020-dix-integer-overflow-in-GetHosts-CVE-2014-8092-2-4.patch.
Human-readable version of "1 MB".
Diffstat (limited to 'debian/patches/1041-nx-X11-lib-font-fc-fserve.c-initialize-remaining-buf.patch')
-rw-r--r-- | debian/patches/1041-nx-X11-lib-font-fc-fserve.c-initialize-remaining-buf.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/1041-nx-X11-lib-font-fc-fserve.c-initialize-remaining-buf.patch b/debian/patches/1041-nx-X11-lib-font-fc-fserve.c-initialize-remaining-buf.patch new file mode 100644 index 000000000..4203bf674 --- /dev/null +++ b/debian/patches/1041-nx-X11-lib-font-fc-fserve.c-initialize-remaining-buf.patch @@ -0,0 +1,35 @@ +From b04f11915e29d9563d279e1326f61b50ea414dba Mon Sep 17 00:00:00 2001 +From: Mihai Moldovan <ionic@ionic.de> +Date: Mon, 16 Feb 2015 06:03:48 +0100 +Subject: [PATCH 07/15] nx-X11/lib/font/fc/fserve.c: initialize remaining + bufleft variables. + +--- + nx-X11/lib/font/fc/fserve.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/nx-X11/lib/font/fc/fserve.c b/nx-X11/lib/font/fc/fserve.c +index 86b5753..6bbb8c2 100644 +--- a/nx-X11/lib/font/fc/fserve.c ++++ b/nx-X11/lib/font/fc/fserve.c +@@ -1917,7 +1917,7 @@ fs_read_glyphs(FontPathElementPtr fpe, FSBlockDataPtr blockrec) + FontInfoPtr pfi = &pfont->info; + fsQueryXBitmaps16Reply *rep; + char *buf; +- long bufleft; /* length of reply left to use */ ++ long bufleft = 0; /* length of reply left to use */ + fsOffset32 *ppbits; + fsOffset32 local_off; + char *off_adr; +@@ -2501,7 +2501,7 @@ fs_read_list_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) + FSBlockedListInfoPtr binfo = (FSBlockedListInfoPtr) blockrec->data; + fsListFontsWithXInfoReply *rep; + char *buf; +- long bufleft; ++ long bufleft = 0; + FSFpePtr conn = (FSFpePtr) fpe->private; + fsPropInfo *pi; + fsPropOffset *po; +-- +2.1.4 + |