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

LVM2.2.03.11/daemons/lvmlockd/lvmlockd-core.c: 2* off by one errors ? #44

Closed
dcb314 opened this issue Jan 8, 2021 · 1 comment
Closed

Comments

@dcb314
Copy link

dcb314 commented Jan 8, 2021

LVM2.2.03.11/daemons/lvmlockd/lvmlockd-core.c:900:8: error: Width 16 given in format string (no. 3) is larger than destination buffer 'lm_type_str[16]', use %15s to prevent overflowing it. [invalidScanfFormatWidth]

LVM2.2.03.11/daemons/lvmlockd/lvmlockd-core.c:920:8: error: Width 8 given in format string (no. 4) is larger than destination buffer 'mode[8]', use %7s to prevent overflowing it. [invalidScanfFormatWidth]

@zkabelac
Copy link
Contributor

Fixed with upstream commit - a4c56a3

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