diff options
Diffstat (limited to 'debian/patches/1005-CVE-2014-0209-integer-overflow-of-realloc-size-.full.patch')
-rw-r--r-- | debian/patches/1005-CVE-2014-0209-integer-overflow-of-realloc-size-.full.patch | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/debian/patches/1005-CVE-2014-0209-integer-overflow-of-realloc-size-.full.patch b/debian/patches/1005-CVE-2014-0209-integer-overflow-of-realloc-size-.full.patch index 8097e3050..66b8cd68d 100644 --- a/debian/patches/1005-CVE-2014-0209-integer-overflow-of-realloc-size-.full.patch +++ b/debian/patches/1005-CVE-2014-0209-integer-overflow-of-realloc-size-.full.patch @@ -22,11 +22,9 @@ int used to store the size. nx-X11/lib/font/fontfile/fontdir.c | 5 +++++ 1 file changed, 5 insertions(+) -diff --git a/nx-X11/lib/font/fontfile/fontdir.c b/nx-X11/lib/font/fontfile/fontdir.c -index 8f75d8b..899ff05 100644 --- a/nx-X11/lib/font/fontfile/fontdir.c +++ b/nx-X11/lib/font/fontfile/fontdir.c -@@ -185,6 +185,11 @@ FontFileAddEntry(FontTablePtr table, FontEntryPtr prototype) +@@ -185,6 +185,11 @@ FontFileAddEntry(FontTablePtr table, Fon if (table->sorted) return (FontEntryPtr) 0; /* "cannot" happen */ if (table->used == table->size) { @@ -38,6 +36,3 @@ index 8f75d8b..899ff05 100644 newsize = table->size + 100; entry = (FontEntryPtr) xrealloc(table->entries, newsize * sizeof(FontEntryRec)); --- -2.1.4 - |