Commit 7c145b64 authored by Zhao Zhili's avatar Zhao Zhili Committed by Pedro Arthur

FATE/dnn: fix stack buffer overflow

Signed-off-by: 's avatarPedro Arthur <bygrandao@gmail.com>
parent e6625ca4
...@@ -203,7 +203,7 @@ static int test_with_mode_constant(void) ...@@ -203,7 +203,7 @@ static int test_with_mode_constant(void)
params.paddings[3][1] = 2; params.paddings[3][1] = 2;
operands[0].data = input; operands[0].data = input;
operands[0].dims[0] = 3; operands[0].dims[0] = 1;
operands[0].dims[1] = 2; operands[0].dims[1] = 2;
operands[0].dims[2] = 2; operands[0].dims[2] = 2;
operands[0].dims[3] = 3; operands[0].dims[3] = 3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment