-
Notifications
You must be signed in to change notification settings - Fork 75
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
strncat bounds warnings with GCC8 #69
Comments
Off by one: "The strncat() function appends not more than n characters from s2, and then adds a terminating `\0'." |
@cemremengu, I just pushed a commit that should eliminate these warnings. Let me know if that is indeed the case. The only time you would have run into problems is when you were at exactly the maximum length -- very unlikely, but still worth fixing! Thanks for bringing it to our attention. |
…ng string so make sure that has been addressed as well (#69).
Yes, compiling |
Building
ODPI-C version 2.4
onWindows 10
withgcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
, I am getting these warnings after the build. Looks like there are no problems with the build overall though.The text was updated successfully, but these errors were encountered: