~ubuntu-branches/ubuntu/precise/devil/precise

« back to all changes in this revision

Viewing changes to src-IL/src/il_cut.c

  • Committer: Bazaar Package Importer
  • Author(s): Bradley Smith
  • Date: 2009-01-17 15:01:18 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090117150118-4bwb6nmvbz4srsjl
Tags: 1.7.5-4
Actually fix CVE-2008-5262. Closes: #512122.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//-----------------------------------------------------------------------------
2
2
//
3
3
// ImageLib Sources
4
 
// Copyright (C) 2000-2002 by Denton Woods
5
 
// Last modified: 03/02/2002 <--Y2K Compliant! =]
 
4
// Copyright (C) 2000-2008 by Denton Woods
 
5
// Last modified: 10/10/2006
6
6
//
7
7
// Filename: src-IL/src/il_cut.c
8
8
//
35
35
ILboolean iLoadCutInternal();
36
36
 
37
37
//! Reads a .cut file
38
 
ILboolean ilLoadCut(const ILstring FileName)
 
38
ILboolean ilLoadCut(ILconst_string FileName)
39
39
{
40
40
        ILHANDLE        CutFile;
41
41
        ILboolean       bCut = IL_FALSE;
69
69
 
70
70
 
71
71
//! Reads from a memory "lump" that contains a .cut
72
 
ILboolean ilLoadCutL(const ILvoid *Lump, ILuint Size)
 
72
ILboolean ilLoadCutL(const void *Lump, ILuint Size)
73
73
{
74
74
        iSetInputLump(Lump, Size);
75
75
        return iLoadCutInternal();
139
139
}
140
140
 
141
141
/* ?????????
142
 
ILvoid ilPopToast() {
 
142
void ilPopToast() {
143
143
        ILstring flipCode = IL_TEXT("#flipCode and www.flipCode.com rule you all.");
144
144
        flipCode[0] = flipCode[0];
145
145
}