mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-15 20:52:18 -04:00
test: add regression test for missing init() in realloc()
This commit is contained in:
parent
9cb4e6daf6
commit
903cba5a84
4 changed files with 40 additions and 1 deletions
|
@ -233,6 +233,10 @@ class TestSimpleMemoryCorruption(unittest.TestCase):
|
|||
"uninitialized_read_large")
|
||||
self.assertEqual(returncode, 0)
|
||||
|
||||
def test_realloc_init(self):
|
||||
_stdout, _stderr, returncode = self.run_test(
|
||||
"realloc_init")
|
||||
self.assertEqual(returncode, 0)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue