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

Possible overflow #3

Open
Bbulatov opened this issue Jul 17, 2024 · 0 comments
Open

Possible overflow #3

Bbulatov opened this issue Jul 17, 2024 · 0 comments

Comments

@Bbulatov
Copy link

Hello!
During the static analysis was found possible overflow. In file SQLDriversW.c:323-324 used sprintf(). But size of buffer is 1024+1, size of szPropertyName is 1000+1 and size of szValue is 1000+1. The same situation in SQLDrivers.c:399-400. Could there be a situation where the buffer[1024+1] contains a dimension of 1000+1000, which will lead to an overflow?

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

1 participant