Browse Source

FATE/dnn: fix stack buffer overflow

Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
tags/n4.3
Zhao Zhili Pedro Arthur 5 years ago
parent
commit
7c145b6441
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/dnn/dnn-layer-pad-test.c

+ 1
- 1
tests/dnn/dnn-layer-pad-test.c 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;


Loading…
Cancel
Save