cmockery
cmockery copied to clipboard
malloc size overflow
_test_malloc ironically suffers from a painfully obvious size_t overflow when calculating allocate_size. a simple assert_true(allocate_size > size) should fix this.