t/stest: confirm that scalloc clears the buffer
authorVincent Fu <vincent.fu@samsung.com>
Tue, 11 Jun 2024 17:54:56 +0000 (17:54 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Tue, 11 Jun 2024 18:04:19 +0000 (18:04 +0000)
commitc6783fc35ab01eb7f8b92bd4369c7d277538fd88
tree23be51f22af3b598d73dfab00d27da31588381e6
parentf956fed4d181d41a5b1c49bba9dce46d8197d428
t/stest: confirm that scalloc clears the buffer

Change smalloc calls to scalloc and make sure buffers are zeroed out.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
t/stest.c