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
version: 2.18.9 gcc version: 9.4.0 the compiling error information is below: In function 'strncpy', inlined from 'set_ecuid' at /home/yunshuangkun/workspace/dlt-daemon-2.18.9/src/console/dlt-control-common.c:126:17: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 10 equals destination size [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
The text was updated successfully, but these errors were encountered:
This is a duplicate to #485 and was fixed by #499 . Please use latest upstream version or cherry pick the fix for your build.
Sorry, something went wrong.
No response from reporter -> closing
No branches or pull requests
version: 2.18.9
gcc version: 9.4.0
the compiling error information is below:
In function 'strncpy',
inlined from 'set_ecuid' at /home/yunshuangkun/workspace/dlt-daemon-2.18.9/src/console/dlt-control-common.c:126:17:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 10 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
The text was updated successfully, but these errors were encountered: