facebookarchive/caffe2

Segfaults if GivenTensorFill shape doesn't match actual floats

Open

#1.426 geöffnet am 3. Nov. 2017

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Shell (8.424 Stars) (1.954 Forks)batch import
bughelp wanted

Beschreibung

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

Contributor Guide