Skip to content

Validate collection sizes before allocating - #1848

Open
Rob-Hague wants to merge 1 commit into
sshnet:developfrom
Rob-Hague:sftp-alloc
Open

Rob-Hague wants to merge 1 commit into
sshnet:developfrom
Rob-Hague:sftp-alloc

Conversation

@Rob-Hague

Copy link
Copy Markdown
Collaborator

Validate cases where (in particular) a few bytes of server data determines the size of a collection allocated, and throw if it's not possible based on the size of the buffer that the collection is purported to be contained in.

Validate cases where (in particular) a few bytes of server data determines the size of
a collection allocated, and throw if it's not possible based on the size of the buffer
that the collection is purported to be contained in.

@WojciechNagorski WojciechNagorski left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

This branch has not been deployed

No deployments
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