]> Savannah Git Hosting - gnulib.git/commit
explicit_bzero tests: Fix test failure on OpenBSD 6.5.
authorBastien Roucariès <rouca@debian.org>
Sun, 12 Apr 2020 23:09:13 +0000 (01:09 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 13 Apr 2020 21:58:34 +0000 (23:58 +0200)
commit6624b766b2871c9e5ecf6400dd56cb5e5c441558
treef5af88cbe8b698d3f0ab8ce0a1782651e91c1821
parent64e1ff019f9318c63da67d5396ac49a0df53437c
explicit_bzero tests: Fix test failure on OpenBSD 6.5.

Some implementation could add canaries after free failling the test.

* tests/test-explicit_bzero.c (test_heap): Handle implementations of
free() that overwrite the memory with canaries.

Signed-off-by: Bastien Roucariès <rouca@debian.org>
ChangeLog
tests/test-explicit_bzero.c