Divyanshu-s13 opened a new pull request, #378:
URL: https://github.com/apache/arrow-js/pull/378

   What's Changed
   Fixed an issue where [tableFromIPC()] could hang indefinitely when reading 
corrupted IPC files. The problem occurred when a corrupted file contained 
invalid metadata length or body length values, causing the reader to wait 
forever trying to read bytes that don't exist.
   
   Added validation to reject unreasonably large metadata lengths (>256MB) and 
body lengths (>2GB), throwing a clear error message instead of hanging.
   
   Closes #315.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to