facebookarchive/caffe2

Segfaults if GivenTensorFill shape doesn't match actual floats

Open

#1,426 建立於 2017年11月3日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Shell (8,424 star) (1,954 fork)batch import
bughelp wanted

描述

It shouldn't do that.

Repro steps:

  1. Make a GivenTensorFill. Set its shape to something big, give it only one value in floats
  2. Run it

Expected result: validation failure Actual result: segfault

貢獻者指南

Segfaults if GivenTensorFill shape doesn't match actual floats · facebookarchive/caffe2#1426 | Good First Issue