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

Overflow of unspecified length array in include/uapi/linux/lsm.h #347

Open
broonie opened this issue Dec 20, 2023 · 2 comments
Open

Overflow of unspecified length array in include/uapi/linux/lsm.h #347

broonie opened this issue Dec 20, 2023 · 2 comments

Comments

@broonie
Copy link

broonie commented Dec 20, 2023

Building at least an arm64 defconfig for next 20231220 using GCC 10 we see:

3    include/linux/fortify-string.h:57:29: error: '__builtin_memcpy' offset 32 is out of the bounds [0, 0] [-Werror=array-bounds]
2    security/security.c:810:2: error: 'memcpy' offset 32 is out of the bounds [0, 0] [-Werror=array-bounds]

due to struct lsm_ctx.

@broonie
Copy link
Author

broonie commented Dec 20, 2023

@kees
Copy link

kees commented Feb 7, 2024

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

No branches or pull requests

2 participants