Skip to content

Conversation

@pitrou
Copy link
Member

@pitrou pitrou commented Jan 27, 2020

We're discussing whether to make those fields required in the schema definitions (which would make validation automatic by the flatbuffers generated verifier), but in the meantime we can check those fields manually.

This should fix a bunch of issues detected by OSS-Fuzz.

@github-actions
Copy link

@pitrou
Copy link
Member Author

pitrou commented Feb 3, 2020

cc @emkornfield, @fsaintjacques

@emkornfield
Copy link
Contributor

LGTM, 1 minor comment.

We're discussing whether to make those fields required in the schema
definitions (which would make validation automatic by the flatbuffers
generated verifier), but in the meantime we can check those fields manually.

This should fix a bunch of issues detected by OSS-Fuzz.
@pitrou pitrou force-pushed the ARROW-7691-check-fb-fields-not-null branch from 9e2d323 to 02478a6 Compare February 4, 2020 12:50
@pitrou pitrou closed this in d6b6f87 Feb 4, 2020
@pitrou pitrou deleted the ARROW-7691-check-fb-fields-not-null branch February 4, 2020 14:42
kszucs pushed a commit that referenced this pull request Feb 7, 2020
We're discussing whether to make those fields required in the schema definitions (which would make validation automatic by the flatbuffers generated verifier), but in the meantime we can check those fields manually.

This should fix a bunch of issues detected by OSS-Fuzz.

Closes #6293 from pitrou/ARROW-7691-check-fb-fields-not-null and squashes the following commits:

02478a6 <Antoine Pitrou> Use a function rather than a macro
e6d3d88 <Antoine Pitrou> ARROW-7691:  Check non-scalar Flatbuffers fields are not null

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
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