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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0
    • Component/s: Streams/Writers
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: