Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: parameter 'output_size' set but not used #4935

Closed
maflcko opened this issue Sep 12, 2021 · 1 comment · Fixed by #4938
Closed

error: parameter 'output_size' set but not used #4935

maflcko opened this issue Sep 12, 2021 · 1 comment · Fixed by #4938
Assignees
Labels
bug size-s Estimated task size: small (~2d)

Comments

@maflcko
Copy link

maflcko commented Sep 12, 2021

This happens on clang-14 with -Wunused-but-set-parameter set.

The affected code:

https://github.com/ARMmbed/mbedtls/blob/78e84e860d8430fe57ac606e357309d92b144f44/library/psa_crypto_cipher.c#L267

This breaks the mbedtls project in oss-fuzz.

@gilles-peskine-arm gilles-peskine-arm added bug regression size-s Estimated task size: small (~2d) labels Sep 13, 2021
@gilles-peskine-arm
Copy link
Contributor

Note that we generally don't support development versions of compilers, so normally we'd ignore warnings issued by Clang 14 until it's officially released. We're making an exception here because oss-fuzz uses development versions of Clang and we want it to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug size-s Estimated task size: small (~2d)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants