You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "tballison (via GitHub)" <gi...@apache.org> on 2024/10/31 13:38:25 UTC

Re: [PR] Use InputStream.skip to skip stream [commons-compress]

tballison commented on PR #573:
URL: https://github.com/apache/commons-compress/pull/573#issuecomment-2449866245

   InputStream.skip() is dangerous, especially on FileInputStreams. See why commons-io's IOUtils uses {{read()}} under its {{skipFully()}}
   
   https://issues.apache.org/jira/browse/IO-203?focusedCommentId=12842641&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12842641 


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org