error handling in initialize_globals() from cextensions can cause interpreter to segfault
Bug #1006284 reported by
James Henstridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Storm |
Fix Released
|
Medium
|
James Henstridge |
Bug Description
The initialize_
static int
initialize_
{
static int initialized = 0;
if (initialized)
return 1;
initialized = 1;
[actual initialisation goes here]
}
This can cause the interpreter to segfault, as demonstrated by the attached program.
Related branches
lp://staging/~jamesh/storm/bug-1006284
- Thomas Herve (community): Approve
- Free Ekanayaka (community): Approve
-
Diff: 41 lines (+18/-6)1 file modifiedstorm/cextensions.c (+18/-6)
Changed in storm: | |
assignee: | nobody → James Henstridge (jamesh) |
importance: | Undecided → Medium |
milestone: | none → 0.20 |
status: | New → In Progress |
Changed in storm: | |
status: | In Progress → Fix Committed |
Changed in storm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.