Skip to content

Conversation

ttsugriy
Copy link
Contributor

sprintf is deprecated and not secure, since it doesn't protect against buffer overflows. Also, string literals are const char*, not char*.

@yurymalkov
Copy link
Member

Thanks!

@yurymalkov yurymalkov merged commit 802a0ec into nmslib:develop Jun 20, 2023
@ttsugriy ttsugriy deleted the warnings branch June 20, 2023 02:07
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

Successfully merging this pull request may close these issues.

2 participants