MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0003643 | VTK | (No Category) | public | 2006-08-21 02:34 | 2006-09-17 07:57 |
| Reporter | wenwu yang | ||||
| Assigned To | Mathieu Malaterre | ||||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0003643: an error in function "void* vtkHeap::AllocateMemory(size_t n)" | ||||
| Description | In this function, there are the following codes: #... if ( ! this->Current || (this->Position + n) >= this->Current->Size ) { this->Add(blockSize); } #... I think "(this->Position + n) >= this->Current->Size )" should be replaced by "(this->Position + n) > this->Current->Size )". For example, there is a block with "pos=0, size=5", which can satisfy quest of n<=5 but not n<=4. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||