File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/common/arrow/src/arrow/io/ipc Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -51,4 +51,6 @@ ignore = [
5151 " RUSTSEC-2024-0376" ,
5252 # rustls network-reachable panic in `Acceptor::accept`
5353 " RUSTSEC-2024-0399" ,
54+ # `idna` accepts Punycode labels that do not produce any non-ASCII when decoded
55+ " RUSTSEC-2024-0421" ,
5456]
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ use crate::arrow::error::Result;
1919#[ cfg_attr( docsrs, doc( cfg( feature = "io_ipc_compression" ) ) ) ]
2020pub fn decompress_lz4 ( input_buf : & [ u8 ] , output_buf : & mut [ u8 ] ) -> Result < ( ) > {
2121 use std:: io:: Read ;
22- let _ = lz4_flex:: frame:: FrameDecoder :: new ( input_buf) . read ( output_buf) ?;
22+ lz4_flex:: frame:: FrameDecoder :: new ( input_buf) . read_exact ( output_buf) ?;
2323 Ok ( ( ) )
2424}
2525
You can’t perform that action at this time.
0 commit comments