MantisBT - ITK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010025 | ITK | public | 2009-12-10 14:48 | 2009-12-16 08:21 | |
| Reporter | Greg Harris | ||||
| Assigned To | Hans Johnson | ||||
| Priority | normal | Severity | crash | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | ITK-3-16 | ||||
| Target Version | Fixed in Version | ||||
| Resolution Date | |||||
| Sprint | |||||
| Sprint Status | |||||
| Summary | 0010025: Review/Statistics/itkScalarImageToHistogramGenerator.txx SetHistogramMin and SetHistogramMax allocate MeasurementVectorType | ||||
| Description | Review/Statistics/itkScalarImageToHistogramGenerator.txx contains methods for SetHistogramMin and SetHistogramMax that allocate minVector and maxVector with size defaulted to zero instead of like this: MeasurementVectorType minVector(1); The result of executing it this way: MeasurementVectorType minVector; is a memory fault crash. | ||||
| Steps To Reproduce | |||||
| Additional Information | cvs diff itkScalarImageToHistogramGenerator.txx Index: itkScalarImageToHistogramGenerator.txx =================================================================== RCS file: /cvsroot/Insight/Insight/Code/Review/Statistics/itkScalarImageToHistogramGenerator.txx,v retrieving revision 1.4 diff -r1.4 itkScalarImageToHistogramGenerator.txx 79c79 < MeasurementVectorType minVector; --- > MeasurementVectorType minVector(1); 91c91 < MeasurementVectorType maxVector; --- > MeasurementVectorType maxVector(1); | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-12-10 14:48 | Greg Harris | New Issue | |||
| 2009-12-10 19:42 | Bradley Lowekamp | Note Added: 0018807 | |||
| 2009-12-11 08:01 | Hans Johnson | Status | new => assigned | ||
| 2009-12-11 08:01 | Hans Johnson | Assigned To | => Hans Johnson | ||
| 2009-12-11 08:04 | Hans Johnson | Note Added: 0018812 | |||
| 2009-12-11 12:04 | Bradley Lowekamp | Note Added: 0018820 | |||
| 2009-12-16 08:21 | Hans Johnson | Note Added: 0018912 | |||
| 2009-12-16 08:21 | Hans Johnson | Status | assigned => resolved | ||
| 2009-12-16 08:21 | Hans Johnson | Resolution | open => fixed | ||
| 2009-12-16 08:21 | Hans Johnson | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||