已关闭
[Bug-Report|缺陷反馈]:pad_v3、tile算子存在 Codecheck 问题 #3094
XBying创建于  9月9日关闭于  24 天前
XBying
XBying
9月9日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

一、问题描述 (必填)

  1. pad_infershape_common.h:GetShapeSize() 返回 int64_t,负值隐式转 size_t 会环绕成巨大正数;GetData() 可能返回 nullptr 导致空指针解引用。
  2. expand_tiling_arch35.cpp / tile_tiling_arch35.cpp:使用 reinterpret_cast 做结构体指针转换。

二、环境信息 (可选)

三、重现步骤 (可选)

四、预期结果 (可选)

💡 备注(选填)

likedislike
XBying
XBying
9月9日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
9月9日 将 2301_81474000 设为负责人
XByingXBying
9月9日 修改标题为 “[Bug-Report|缺陷反馈]: 算子存在 Codecheck 问题”,原标题为“[Bug-Report|缺陷反馈]: ”
XByingXBying
9月9日 修改标题为 “[Bug-Report|缺陷反馈]:pad_v3、tile算子存在 Codecheck 问题”,原标题为“[Bug-Report|缺陷反馈]: 算子存在 Codecheck 问题”
XByingXBying
9月9日 关联了pull request:fix: pad_infershape 增加数据指针与 shape size 校验;expand/tile 以 static_cast 替换 reinterpret_cast
XByingXBying
9月9日 关联了pull request:fix: pad_infershape 增加数据指针与 shape size 校验;expand/tile 以 static_cast 替换 reinterpret_cast
XByingXBying
9月9日 关联了pull request:refactor: pad_infershape 增加数据指针与 shape size 校验;expand/tile 以 static_cast 替换 reinterpret_cast
zhanw_coding
zhanw_coding成员
24 天前 评论:

/close

likedislike
CANN-robotCANN-robot成员
24 天前 issue状态由 进行中 改变为 已完成
CANN-robotCANN-robot成员
24 天前 关闭了 issue
zhanw_codingzhanw_coding成员
24 天前 添加了label:resolved