diff options
author | David Gstir <david@sigma-star.at> | 2016-02-22 14:52:03 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-02-21 10:13:11 +0100 |
commit | d600419ef43dd04c0e83e4ce0fc714d2f4e5ac8c (patch) | |
tree | 5de1e3cadef2bde3526b0657b78eabc6016f12d6 /tests/ubi-tests/mkvol_basic.c | |
parent | 1710e0c53e5d3768ba7a58e26ffc8cb105d2ae62 (diff) |
ubi: tests: Replace variable-length array with malloc()
io_read and io_update of mtd-utils use variable-length arrays for test data.
Since this could result in allocating many megabytes using alloca(), switch
to malloc().
Signed-off-by: David Gstir <david@sigma-star.at>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/ubi-tests/mkvol_basic.c')
0 files changed, 0 insertions, 0 deletions