Skip to content

ARROW-7691: [C++] Check non-scalar Flatbuffers fields are not null - #6293

Closed
pitrou wants to merge 2 commits into
apache:masterfrom
pitrou:ARROW-7691-check-fb-fields-not-null
Closed

ARROW-7691: [C++] Check non-scalar Flatbuffers fields are not null#6293
pitrou wants to merge 2 commits into
apache:masterfrom
pitrou:ARROW-7691-check-fb-fields-not-null

Conversation

@pitrou

Copy link
Copy Markdown
Member

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
Copy Markdown

@pitrou

Copy link
Copy Markdown
MemberAuthor

cc @emkornfield, @fsaintjacques

Comment threadcpp/src/arrow/ipc/metadata_internal.h Outdated
@emkornfield

Copy link
Copy Markdown
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
pitrouforce-pushed the ARROW-7691-check-fb-fields-not-null branch from 9e2d323 to 02478a6CompareFebruary 4, 2020 12:50
@pitroupitrou closed this in d6b6f87Feb 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 freeto 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

@pitrou@emkornfield