We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I'd like to suggest the following fix:
--- strutils.bak.c 2017-02-22 11:16:55.000000000 +0100 +++ strutils.c 2018-05-27 20:38:25.000000000 +0200 @@ -241,7 +241,7 @@ for (i = 0; i < maxlen; i++) { if (s[i] == '\0') - return i + 1; + return i; } return maxlen; }
The text was updated successfully, but these errors were encountered:
lib/strutils: fix strnlen() fallback
64af1a2
Addresses: #643 Signed-off-by: Karel Zak <kzak@redhat.com>
Oh, bug from year 2009... Thanks!
Sorry, something went wrong.
5ed2b0c
No branches or pull requests
Hi, I'd like to suggest the following fix:
The text was updated successfully, but these errors were encountered: