Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/abuse/files: abuse-0.7.1-ovflfix.patch
Date: Fri, 05 Nov 2010 16:40:02
Message-Id: 20101105163959.A162920054@flycatcher.gentoo.org
1 tupone 10/11/05 16:39:59
2
3 Added: abuse-0.7.1-ovflfix.patch
4 Log:
5 Fix overflow. Bug #337363
6
7 (Portage version: 2.1.9.24/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 games-action/abuse/files/abuse-0.7.1-ovflfix.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/files/abuse-0.7.1-ovflfix.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/files/abuse-0.7.1-ovflfix.patch?rev=1.1&content-type=text/plain
14
15 Index: abuse-0.7.1-ovflfix.patch
16 ===================================================================
17 --- src/imlib/loader.cpp.old 2010-11-05 17:30:54.000000000 +0100
18 +++ src/imlib/loader.cpp 2010-11-05 17:31:19.000000000 +0100
19 @@ -114,7 +114,7 @@
20 graphics_type tell_file_type(char *filename)
21 {
22 FILE *fp;
23 - unsigned char header[10];
24 + unsigned char header[12];
25 fp=fopen(filename,"rb");
26 if (!fp)
27 return LOADER_not_supported;