Skip to content

fuzz_ipc: use calloc instead of malloc for ipc region - #3559

Merged
lgirdwood merged 1 commit into
thesofproject:masterfrom
cujomalainey:fix-mem-san
Oct 29, 2020
Merged

lgirdwood merged 1 commit into
thesofproject:masterfrom
cujomalainey:fix-mem-san

Conversation

@cujomalainey

Copy link
Copy Markdown
Contributor

The memory sanitzer catches uninitialized value errors on the size check
for small data sizes. Therefore lets us calloc so we can assume the
whole region exists without having the sanitizer get upset.

Signed-off-by: Curtis Malainey cujomalainey@chromium.org

The memory sanitzer catches uninitialized value errors on the size check
for small data sizes. Therefore lets us calloc so we can assume the
whole region exists without having the sanitizer get upset.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
@lgirdwood
lgirdwood merged commit 1d028ab into thesofproject:master Oct 29, 2020
@cujomalainey
cujomalainey deleted the fix-mem-san branch October 29, 2020 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants