任务单 #30083

Avoid overflow of "int" in the "MallocerFrrer"

开放日期: 2012-11-13 12:26 最后更新: 2012-11-14 17:52

报告人:
属主:
类型:
状态:
关闭
组件:
(无)
里程碑:
优先:
6
严重性:
6
处理结果:
Fixed
文件:

Details

1)Type of arguments for size of array is modified to size_t from int
2)To avoid overflow, way to calculate "requiredMalloc" is modified to

  double requiredMalloc = static_cast<double>(size1);
                         *static_cast<double>(size2);
                         *static_cast<double>(sizeof(T));

3)To check the amount of allocated heap in more detail, variables for address should be counted in the "requiredMalloc"

任务单历史 (3/3 Histories)

2012-11-13 12:26 Updated by: mikiya_fujii
  • New Ticket "Avoid overflow of "int" in the "MallocerFrrer"" created
2012-11-13 12:27 Updated by: mikiya_fujii
  • Details Updated
2012-11-14 17:52 Updated by: mikiya_fujii
  • 处理结果 Update from to Fixed
  • 状态 Update from 开启 to 关闭
  • Ticket Close date is changed to 2012-11-14 17:52
评论

Fixed at r1117. Then MallocerFreer is refactored at r1118.

Attachment File List

No attachments

编辑

Please login to add comment to this ticket » 登录名