test: Two fixes for malloc canaries.
commit0fc5c8f5c814c67b358c9cab1f019cc34fb4e150
authorCyril Hrubis <metan@ucw.cz>
Sun, 22 Dec 2013 21:12:26 +0000 (22 22:12 +0100)
committerCyril Hrubis <metan@ucw.cz>
Sun, 22 Dec 2013 21:42:49 +0000 (22 22:42 +0100)
tree1a4f527835ec035736c59290693b01aa9d014944
parent9dd2b6a1c757b73d58da9aa1c5b2af59b98c6adb
test: Two fixes for malloc canaries.

* Make use of real_free() instead of free()
  (this fixes posible infinite loop)

* Fix special case for canary_right when size
  is multiple of page size.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
tests/framework/tst_malloc_canaries.c