Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-675

InfiniteCircularInputStream throws a divide-by-zero exception when reading if its input buffer is size 0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0
    • Streams/Writers
    • None

    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.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: