
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Operating System: Windows NT/2K
Platform: PC
Operating System: Windows NT/2K
Platform: PC
|
|
| Bugzilla Id: |
24703
|
| Resolution Date: |
13/Jul/08 08:02 PM
|
|
Parser crashes in ContentSpecNode.hpp: ContentSpecNode::~ContentSpecNode().
Steps to reproduce:
validate a xml file against a schema with an element having a maxOccurs >=
200000.
Assumed cause:
Stack overfow
Makeshift resolution:
Set the repeat count to unbounded(-1), when maxOccurs > 500:
inline void ContentSpecNode::setMaxOccurs(int max)
{
if(max > 500)
max = -1;
fMaxOccurs = max;
}
|
|
Description
|
Parser crashes in ContentSpecNode.hpp: ContentSpecNode::~ContentSpecNode().
Steps to reproduce:
validate a xml file against a schema with an element having a maxOccurs >=
200000.
Assumed cause:
Stack overfow
Makeshift resolution:
Set the repeat count to unbounded(-1), when maxOccurs > 500:
inline void ContentSpecNode::setMaxOccurs(int max)
{
if(max > 500)
max = -1;
fMaxOccurs = max;
} |
Show » |
| No work has yet been logged on this issue.
|
|