From: | "Andrey Grozin (grozin)" <grozin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-visualization/gle/files: gle-4.2.3b-overflows.patch gle-4.2.3-parallel.patch |
Date: | Wed, 03 Nov 2010 16:48:36 |
Message-Id: | 20101103164830.D6E2020054@flycatcher.gentoo.org |
1 | grozin 10/11/03 16:48:30 |
2 | |
3 | Added: gle-4.2.3b-overflows.patch |
4 | Removed: gle-4.2.3-parallel.patch |
5 | Log: |
6 | Added a patch by Kacper Kowalik to fix 2 buffer overflows, many thanks. Removed an old version. |
7 | |
8 | (Portage version: 2.2.0_alpha3/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.1 sci-visualization/gle/files/gle-4.2.3b-overflows.patch |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gle/files/gle-4.2.3b-overflows.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gle/files/gle-4.2.3b-overflows.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: gle-4.2.3b-overflows.patch |
17 | =================================================================== |
18 | Fix buffer overflows |
19 | |
20 | http://bugs.gentoo.org/show_bug.cgi?id=338823 |
21 | |
22 | --- src/gle/d_svg.cpp |
23 | +++ src/gle/d_svg.cpp |
24 | @@ -636,7 +636,7 @@ |
25 | static int init_done; |
26 | FILE *fptr; |
27 | char *s; |
28 | - char inbuff[90]; |
29 | + char inbuff[200]; |
30 | if (init_done) return; |
31 | init_done = true; |
32 | |
33 | --- src/gle/d_ps.cpp |
34 | +++ src/gle/d_ps.cpp |
35 | @@ -1002,7 +1002,7 @@ |
36 | static int init_done; |
37 | FILE *fptr; |
38 | char *s; |
39 | - char inbuff[90]; |
40 | + char inbuff[200]; |
41 | if (init_done) return; |
42 | init_done = true; |