FATE/dnn: fix stack buffer overflow

Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
This commit is contained in:
Zhao Zhili 2019-10-01 14:36:49 +08:00 committed by Pedro Arthur
parent e6625ca41f
commit 7c145b6441

View File

@ -203,7 +203,7 @@ static int test_with_mode_constant(void)
params.paddings[3][1] = 2;
operands[0].data = input;
operands[0].dims[0] = 3;
operands[0].dims[0] = 1;
operands[0].dims[1] = 2;
operands[0].dims[2] = 2;
operands[0].dims[3] = 3;