~siretart/xine-lib/ubuntu

« back to all changes in this revision

Viewing changes to src/post/goom/goomsl_yacc.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-15 13:13:45 UTC
  • mfrom: (0.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051215131345-8n4osv1j7fy9c1s1
* SECURITY UPDATE: Fix arbitrary code execution with crafted PNG images in
  embedded ffmpeg copy.
* src/libffmpeg/libavcodec/utils.c, avcodec_default_get_buffer(): Apply
  upstream patch to fix buffer overflow on decoding of small PIX_FMT_PAL8
  PNG files.
* References:
  CVE-2005-4048
  http://mplayerhq.hu/pipermail/ffmpeg-devel/2005-November/005333.html
  http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/
  utils.c.diff?r1=1.161&r2=1.162&cvsroot=FFMpeg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
typedef union {
 
1
/* A Bison parser, made by GNU Bison 1.875.  */
 
2
 
 
3
/* Skeleton parser for Yacc-like parsing with Bison,
 
4
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
 
5
 
 
6
   This program is free software; you can redistribute it and/or modify
 
7
   it under the terms of the GNU General Public License as published by
 
8
   the Free Software Foundation; either version 2, or (at your option)
 
9
   any later version.
 
10
 
 
11
   This program is distributed in the hope that it will be useful,
 
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
   GNU General Public License for more details.
 
15
 
 
16
   You should have received a copy of the GNU General Public License
 
17
   along with this program; if not, write to the Free Software
 
18
   Foundation, Inc., 59 Temple Place - Suite 330,
 
19
   Boston, MA 02111-1307, USA.  */
 
20
 
 
21
/* As a special exception, when this file is copied by Bison into a
 
22
   Bison output file, you may use that output file without restriction.
 
23
   This special exception was added by the Free Software Foundation
 
24
   in version 1.24 of Bison.  */
 
25
 
 
26
/* Tokens.  */
 
27
#ifndef YYTOKENTYPE
 
28
# define YYTOKENTYPE
 
29
   /* Put the tokens into the symbol table, so that GDB and other debuggers
 
30
      know about them.  */
 
31
   enum yytokentype {
 
32
     LTYPE_INTEGER = 258,
 
33
     LTYPE_FLOAT = 259,
 
34
     LTYPE_VAR = 260,
 
35
     LTYPE_PTR = 261,
 
36
     PTR_TK = 262,
 
37
     INT_TK = 263,
 
38
     FLOAT_TK = 264,
 
39
     DECLARE = 265,
 
40
     EXTERNAL = 266,
 
41
     WHILE = 267,
 
42
     DO = 268,
 
43
     NOT = 269,
 
44
     PLUS_EQ = 270,
 
45
     SUB_EQ = 271,
 
46
     DIV_EQ = 272,
 
47
     MUL_EQ = 273,
 
48
     SUP_EQ = 274,
 
49
     LOW_EQ = 275,
 
50
     NOT_EQ = 276,
 
51
     STRUCT = 277,
 
52
     FOR = 278,
 
53
     IN = 279
 
54
   };
 
55
#endif
 
56
#define LTYPE_INTEGER 258
 
57
#define LTYPE_FLOAT 259
 
58
#define LTYPE_VAR 260
 
59
#define LTYPE_PTR 261
 
60
#define PTR_TK 262
 
61
#define INT_TK 263
 
62
#define FLOAT_TK 264
 
63
#define DECLARE 265
 
64
#define EXTERNAL 266
 
65
#define WHILE 267
 
66
#define DO 268
 
67
#define NOT 269
 
68
#define PLUS_EQ 270
 
69
#define SUB_EQ 271
 
70
#define DIV_EQ 272
 
71
#define MUL_EQ 273
 
72
#define SUP_EQ 274
 
73
#define LOW_EQ 275
 
74
#define NOT_EQ 276
 
75
#define STRUCT 277
 
76
#define FOR 278
 
77
#define IN 279
 
78
 
 
79
 
 
80
 
 
81
 
 
82
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
 
83
#line 1199 "goomsl_yacc.y"
 
84
typedef union YYSTYPE {
2
85
    int intValue;
3
86
    float floatValue;
4
87
    char charValue;
5
88
    char strValue[2048];
6
89
    NodeType *nPtr;
 
90
    GoomHash *namespace;
 
91
    GSL_Struct *gsl_struct;
 
92
    GSL_StructField *gsl_struct_field;
7
93
  } YYSTYPE;
8
 
#define TYPE_INTEGER    257
9
 
#define TYPE_FLOAT      258
10
 
#define TYPE_VAR        259
11
 
#define TYPE_PTR        260
12
 
#define PTR_TK  261
13
 
#define INT_TK  262
14
 
#define FLOAT_TK        263
15
 
#define DECLARE 264
16
 
#define EXTERNAL        265
17
 
#define WHILE   266
18
 
#define DO      267
19
 
#define NOT     268
20
 
#define PLUS_EQ 269
21
 
#define SUB_EQ  270
22
 
#define DIV_EQ  271
23
 
#define MUL_EQ  272
24
 
#define SUP_EQ  273
25
 
#define LOW_EQ  274
26
 
 
 
94
/* Line 1240 of yacc.c.  */
 
95
#line 95 "goomsl_yacc.h"
 
96
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
 
97
# define YYSTYPE_IS_DECLARED 1
 
98
# define YYSTYPE_IS_TRIVIAL 1
 
99
#endif
27
100
 
28
101
extern YYSTYPE yylval;
 
102
 
 
103
 
 
104