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

« back to all changes in this revision

Viewing changes to src-ILU/src/ilu_region.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:
11
11
//-----------------------------------------------------------------------------
12
12
 
13
13
 
 
14
#include "ilu_internal.h"
14
15
#include "ilu_region.h"
15
16
 
16
 
 
17
17
ILpointi        *RegionPointsi = NULL;
18
18
ILpointf        *RegionPointsf = NULL;
19
19
ILuint          PointNum = 0;
20
20
ILubyte         *iRegionMask = NULL;
21
21
 
22
 
ILvoid ILAPIENTRY iluRegionfv(ILpointf *Points, ILuint n)
 
22
void ILAPIENTRY iluRegionfv(ILpointf *Points, ILuint n)
23
23
{
24
24
        if (Points == NULL || n == 0) {
25
25
                ifree(RegionPointsi);
43
43
}
44
44
 
45
45
 
46
 
ILvoid ILAPIENTRY iluRegioniv(ILpointi *Points, ILuint n)
 
46
void ILAPIENTRY iluRegioniv(ILpointi *Points, ILuint n)
47
47
{
48
48
        if (Points == NULL || n == 0) {
49
49
                ifree(RegionPointsi);