KEMBAR78
[fuzzers] do not fail fuzzers with empty input by mikea · Pull Request #1788 · openssl/openssl · GitHub
Skip to content

Conversation

@mikea
Copy link
Contributor

@mikea mikea commented Oct 26, 2016

No description provided.

@kroeckx
Copy link
Member

kroeckx commented Oct 27, 2016

I'm not sure what you're trying to fix and why you only change those 2 files in that case,

@mikea
Copy link
Contributor Author

mikea commented Oct 27, 2016

@kroeckx these two fuzzers (and only these two) fail on empty input (len=0). As far as I can tell this happens because BIO_write doesn't like lenght=0.

@kroeckx
Copy link
Member

kroeckx commented Oct 29, 2016

You mean BIO_write() returns -1 on those and so the assert fails?

@mikea
Copy link
Contributor Author

mikea commented Oct 29, 2016

Yes

@mikea mikea mentioned this pull request Nov 1, 2016
@kroeckx kroeckx self-assigned this Nov 1, 2016
@richsalz richsalz added the approval: done This pull request has the required number of approvals label Nov 1, 2016
@kroeckx kroeckx closed this Nov 1, 2016
levitte pushed a commit that referenced this pull request Nov 1, 2016
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>

GH: #1788
levitte pushed a commit that referenced this pull request Nov 3, 2016
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>

GH: #1788
(cherry picked from commit ba74070)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: done This pull request has the required number of approvals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants