Commit: f2fe7197971bb0a776e675b1cb6c97280867b38d
Parent: 72cb32651f0c77ce003648238ebd4110d3a4aa6d
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Szymon Janc <szymon.janc@codecoup.pl>
Date: 2016-11-01 16:50:56
Tree: 945259230b0806c926741e35d0dfb62eed825e7c

tools/mgmt-tester: Fix use of uninitialized memory unmet_setup_conditions in test_data was not properly initialized by test_* macros. To avoid this issue in future use new0 for test_data allocation and explicitly initialize variables with non-zero values only.

Diffstat

M tools/mgmt-tester.c | 20 ++++- - - - - - - - - - - - - - - -

1 files changed, 4 insertions(+), 16 deletions(-)

View Full Diff | Patch