Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2747

Reply incorrectly handles read() returning -1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.2.0
    • Fix Version/s: 10.5.1.1
    • Component/s: Network Client
    • Labels:
      None
    • Issue & fix info:
      High Value Fix

      Description

      If java/client/org/apache/derby/client/net/Reply.java encounters a EOF, i.e. reads -1 then it adds this value to the number of bytes read and prints an error message which reads "-1 bytes read".

        Attachments

        1. patch-2747-1.diff
          0.6 kB
          Kurt Huwig
        2. patch-2747-2.diff
          0.8 kB
          Kurt Huwig

          Activity

            People

            • Assignee:
              kurti Kurt Huwig
              Reporter:
              kurti Kurt Huwig
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: