Skip to content

Conversation

@StanislavGlebik
Copy link

Static security scanner highlighted this line as a potential vulnerability, since both size and written are size_t, and hence can never be less than 0.

I don't believe it it an actual issue, but size > written should achieve the same goal.

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.

1 participant