View Issue Details

IDProjectCategoryView StatusLast Update
0000019Slicer3Libspublic2007-02-12 13:20
ReporterkeilhackAssigned Tolorensen 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0000019: ModuleDescription parser crashs Slicer if the xml string doesn't start with a <executable> tag
Description

I tried to parser a xml module description on the fly and it crashes at:

std::string error("ModuleDescriptionParser Error: <executable> was found inside another tag <" + ps->OpenTags.top() + ">.");

xml-file (eg.):
<?xml ...>
<gui>
<executable>....</executable>
</gui>

there should only be an error but no crash of slicer3.

Additional Information

I used Slicer3 - Rev. 2381.

After removing the <gui> elements by hand it works, as it should.

TagsNo tags attached.

Activities

lorensen

lorensen

2007-01-31 05:21

developer   ~0000029

I added better error checking to the parser.

Issue History

Date Modified Username Field Change
2007-01-29 14:15 keilhack New Issue
2007-01-30 09:08 lorensen Assigned To => lorensen
2007-01-30 09:08 lorensen Status new => assigned
2007-01-31 05:21 lorensen Note Added: 0000029
2007-01-31 05:22 lorensen Resolution open => fixed
2007-02-12 13:20 hayes Status assigned => closed