facebookarchive/caffe2

Segfaults if GivenTensorFill shape doesn't match actual floats

オープン

#1,426 opened on 2017/11/03

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Shell (1,954 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (8,424 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド