[ 
https://issues.apache.org/jira/browse/ARROW-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175756#comment-16175756
 ] 

Wes McKinney edited comment on ARROW-1589 at 9/22/17 12:49 AM:
---------------------------------------------------------------

It would be reasonable to implement an {{UntrustedMessageReader}} that is more 
robust to random bytes input, like using Flatbuffers' generated verification 
functions (see "Access of untrusted buffers" 
https://google.github.io/flatbuffers/md__cpp_usage.html). This will slow down 
IPC reads but perhaps not by that much


was (Author: wesmckinn):
It would be reasonable to implement an {{UntrustedInputStreamReader}} that is 
more robust to random bytes input, like using Flatbuffers' generated 
verification functions (see "Access of untrusted buffers" 
https://google.github.io/flatbuffers/md__cpp_usage.html). This will slow down 
IPC reads but perhaps not by that much

> [C++] Fuzzing for certain input formats
> ---------------------------------------
>
>                 Key: ARROW-1589
>                 URL: https://issues.apache.org/jira/browse/ARROW-1589
>             Project: Apache Arrow
>          Issue Type: Test
>            Reporter: Marco Neumann
>            Assignee: Marco Neumann
>
> The arrow lib should have fuzzing tests for certain input formats, e.g. for 
> reading record batches from streams. Ideally, malformed input must not crash 
> the system but must report a proper error. This could easily be implemented 
> e.g. w/ [libfuzzer|https://llvm.org/docs/LibFuzzer.html] in combination with 
> address sanitizer (that's already implemented by Arrow's build system).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to