cmockery icon indicating copy to clipboard operation
cmockery copied to clipboard

malloc size overflow

Open jessa0 opened this issue 8 years ago • 0 comments

_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.

jessa0 avatar Jul 03 '17 00:07 jessa0