You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2020/07/01 14:03:01 UTC

[jira] [Updated] (IO-675) InfiniteCircularInputStream throws a divide-by-zero exception when reading if its input buffer is size 0

     [ https://issues.apache.org/jira/browse/IO-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated IO-675:
-------------------------------
    Description: 
InfiniteCircularInputStream throws a divide-by-zero exception when reading if its input buffer is size 0.

Instead, we will validate the buffer on construction.

  was:
InfiniteCircularInputStream throws an exception when reading if its input buffer is size 0.

Instead, we will validate the buffer on construction.


> InfiniteCircularInputStream throws a divide-by-zero exception when reading if its input buffer is size 0
> --------------------------------------------------------------------------------------------------------
>
>                 Key: IO-675
>                 URL: https://issues.apache.org/jira/browse/IO-675
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Streams/Writers
>            Reporter: Gary D. Gregory
>            Assignee: Gary D. Gregory
>            Priority: Major
>
> InfiniteCircularInputStream throws a divide-by-zero exception when reading if its input buffer is size 0.
> Instead, we will validate the buffer on construction.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)