Page MenuHomePhabricator

[Navi BSQ] crash in filter ToFDistanceImageToPointSetFilter
Closed, ResolvedPublic

Description

If the method SetSubset(...) of the filter ToFDistanceImageToPointSetFilter is called before the image was set, the filter crashes. I assume that NULL-check for the image would solve this bug.

See line 72 of file mitkToFDistanceImageToPointSetFilter.cpp.

Event Timeline

This bug could not be fixed for release 2013-06. Setting target milestone to next release

I implemented the suggested solution and enhanced the unit test to see if the fix works.

User mersmann has pushed new remote branch:

bug-13933-ErrorInToFDistanceImageToPointSetFilter

[a3b503]: Merge branch 'bug-13933-ErrorInToFDistanceImageToPointSetFilter'

Merged commits:

2014-03-11 18:40:37 Sven Mersmann [35a790]
If SetSubset() is called before SetInput() the boundary checking is now performed against the biggest possible bounds.