increased buffer size. Addresses bug #511072.
2008-01-22 Sven Neumann <sven@gimp.org> * plug-ins/imagemap/imap_csim.y: increased buffer size. Addresses bug #511072. * plug-ins/imagemap/imap_csim_parse.[ch]: regenerated. svn path=/trunk/; revision=24673
This commit is contained in:

committed by
Sven Neumann

parent
0a368b32e7
commit
fc35b815a9
@ -1,3 +1,10 @@
|
||||
2008-01-22 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/imagemap/imap_csim.y: increased buffer size. Addresses
|
||||
bug #511072.
|
||||
|
||||
* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated.
|
||||
|
||||
2008-01-22 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-callbacks.c
|
||||
|
@ -49,7 +49,7 @@ static MapInfo_t *_map_info;
|
||||
%union {
|
||||
int val;
|
||||
double value;
|
||||
char id[1024]; /* Large enough to hold all polygon points! */
|
||||
char id[4096]; /* Large enough to hold all polygon points! */
|
||||
}
|
||||
|
||||
%token<val> IMG SRC WIDTH HEIGHT BORDER USEMAP
|
||||
@ -136,7 +136,7 @@ description_line: DESCRIPTION STRING END_COMMENT
|
||||
{
|
||||
gchar *description;
|
||||
|
||||
description = g_strconcat(_map_info->description, $2, "\n",
|
||||
description = g_strconcat(_map_info->description, $2, "\n",
|
||||
NULL);
|
||||
g_strreplace(&_map_info->description, description);
|
||||
}
|
||||
@ -154,7 +154,7 @@ area : '<' AREA tag_list xhtml_close
|
||||
;
|
||||
|
||||
xhtml_close : '>'
|
||||
| '/' '>'
|
||||
| '/' '>'
|
||||
;
|
||||
|
||||
tag_list : /* Empty */
|
||||
@ -310,7 +310,7 @@ end_map : '<' END_MAP '>'
|
||||
|
||||
%%
|
||||
|
||||
static void
|
||||
static void
|
||||
csim_error(char* s)
|
||||
{
|
||||
extern FILE *csim_in;
|
||||
|
@ -207,7 +207,7 @@ typedef union YYSTYPE
|
||||
{
|
||||
int val;
|
||||
double value;
|
||||
char id[1024]; /* Large enough to hold all polygon points! */
|
||||
char id[4096]; /* Large enough to hold all polygon points! */
|
||||
}
|
||||
/* Line 187 of yacc.c. */
|
||||
#line 214 "y.tab.c"
|
||||
@ -1580,7 +1580,7 @@ yyreduce:
|
||||
{
|
||||
gchar *description;
|
||||
|
||||
description = g_strconcat(_map_info->description, (yyvsp[(2) - (3)].id), "\n",
|
||||
description = g_strconcat(_map_info->description, (yyvsp[(2) - (3)].id), "\n",
|
||||
NULL);
|
||||
g_strreplace(&_map_info->description, description);
|
||||
}
|
||||
@ -1955,7 +1955,7 @@ yyreturn:
|
||||
#line 311 "imap_csim.y"
|
||||
|
||||
|
||||
static void
|
||||
static void
|
||||
csim_error(char* s)
|
||||
{
|
||||
extern FILE *csim_in;
|
||||
|
@ -104,7 +104,7 @@ typedef union YYSTYPE
|
||||
{
|
||||
int val;
|
||||
double value;
|
||||
char id[1024]; /* Large enough to hold all polygon points! */
|
||||
char id[4096]; /* Large enough to hold all polygon points! */
|
||||
}
|
||||
/* Line 1489 of yacc.c. */
|
||||
#line 111 "y.tab.h"
|
||||
|
Reference in New Issue
Block a user