aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/test_lib.h
diff options
context:
space:
mode:
authorDavid Gstir <david@sigma-star.at>2016-02-22 14:52:03 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-02-21 10:13:11 +0100
commitd600419ef43dd04c0e83e4ce0fc714d2f4e5ac8c (patch)
tree5de1e3cadef2bde3526b0657b78eabc6016f12d6 /tests/unittests/test_lib.h
parent1710e0c53e5d3768ba7a58e26ffc8cb105d2ae62 (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/unittests/test_lib.h')
0 files changed, 0 insertions, 0 deletions