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

Try ReaderFrom #131

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Try ReaderFrom #131

wants to merge 3 commits into from

Conversation

fortuna
Copy link
Contributor

@fortuna fortuna commented Nov 2, 2023

No description provided.

if header[1] != 0 {
return nil, ReplyCode(header[1])
if response[1] != 0 {
return nil, ReplyCode(response[1])

Check failure

Code scanning / CodeQL

Incorrect conversion between integer types High

Incorrect conversion of an integer with architecture-dependent bit size from
strconv.Atoi
to a lower bit size type uint8 without an upper bound check.
Incorrect conversion of an integer with architecture-dependent bit size from
strconv.Atoi
to a lower bit size type uint8 without an upper bound check.
@fortuna
Copy link
Contributor Author

fortuna commented Nov 2, 2023

@jyyi1 This is a preview of what removing Write and using ReaderFrom looks like. Still broken though.

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