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
In this lines argument 3 overlaps destination object. https://github.com/phoenix-rtos/phoenix-rtos-devices/blob/ac27d41c70aceca307401aa66047b988da6f044a/sensors/libsensors-spi.c#L110
sprintf(dir, "%s/dir", dir);
https://github.com/phoenix-rtos/phoenix-rtos-devices/blob/ac27d41c70aceca307401aa66047b988da6f044a/sensors/libsensors-spi.c#L130
sprintf(dir, "%s/port", dir);
Better will be use of the strcat() or strlen() + strcpy()
strcat()
strlen() + strcpy()
The text was updated successfully, but these errors were encountered:
niewim19
Successfully merging a pull request may close this issue.
In this lines argument 3 overlaps destination object.
https://github.com/phoenix-rtos/phoenix-rtos-devices/blob/ac27d41c70aceca307401aa66047b988da6f044a/sensors/libsensors-spi.c#L110
https://github.com/phoenix-rtos/phoenix-rtos-devices/blob/ac27d41c70aceca307401aa66047b988da6f044a/sensors/libsensors-spi.c#L130
Better will be use of the
strcat()
orstrlen() + strcpy()
The text was updated successfully, but these errors were encountered: