diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-30 15:07:17 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-30 15:07:17 +0000 |
commit | f0fba3e0ea4a9c0e64e47f87f5e21282d1f5f9ec (patch) | |
tree | e3ffff65e2947296101eaa32854351f31221d9f9 /dev-libs/fribidi/files | |
parent | Stable for alpha, wrt bug #440682 (diff) | |
download | historical-f0fba3e0ea4a9c0e64e47f87f5e21282d1f5f9ec.tar.gz historical-f0fba3e0ea4a9c0e64e47f87f5e21282d1f5f9ec.tar.bz2 historical-f0fba3e0ea4a9c0e64e47f87f5e21282d1f5f9ec.zip |
Import upstream patch for security #449310
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'dev-libs/fribidi/files')
-rw-r--r-- | dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch b/dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch new file mode 100644 index 000000000000..2619bf375510 --- /dev/null +++ b/dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch @@ -0,0 +1,22 @@ +From 78dc3af68ed0e1aafe54c176b28dadee66eb306c Mon Sep 17 00:00:00 2001 +From: Behdad Esfahbod <behdad@behdad.org> +Date: Thu, 06 Dec 2012 17:17:53 +0000 +Subject: Fix theoretically possible overflow + +https://bugzilla.redhat.com/show_bug.cgi?id=884000 +--- +diff --git a/bin/fribidi-main.c b/bin/fribidi-main.c +index ac9e2ff..dd27f0d 100644 +--- a/bin/fribidi-main.c ++++ b/bin/fribidi-main.c +@@ -519,7 +519,7 @@ main ( + idx++; + } + #endif /* !FRIBIDI_MAIN_USE_ICONV_H */ +- if (wid < 0 && idx > st + 1) ++ if (wid < 0 && idx - st > 1) + idx--; + inlen = idx - st; + +-- +cgit v0.9.0.2-2-gbebe |