Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
graphviz-plugins
graphviz-fix_gstack_overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File graphviz-fix_gstack_overflow.patch of Package graphviz-plugins
--- lib/graph/parser.y 2007-09-07 08:05:44.000000000 -0400 +++ lib/graph/parser.y 2008-10-07 14:40:07.000000000 -0400 @@ -31,7 +31,8 @@ static Agnode_t *N; static Agedge_t *E; static objstack_t *SP; -static Agraph_t *Gstack[32]; +#define GSTACK_SIZE 64 +static Agraph_t *Gstack[GSTACK_SIZE]; static int GSP; static void subgraph_warn (void) @@ -44,6 +45,9 @@ static void push_subg(Agraph_t *g) { + if (GSP >= GSTACK_SIZE) { + agerr (AGERR, "Gstack overflow in graph parser\n"); exit(1); + } G = Gstack[GSP++] = g; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor