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

[patch] non short circuit op, could cause eof problems

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.5.3.0
    • Fix Version/s: 10.5.3.2, 10.6.1.0
    • Component/s: JDBC
    • Labels:
      None

      Description

      (from patch)

      int offset = 0;

      • while( offset < dataDirectory.length() & Character.isSpaceChar( dataDirectory.charAt( offset)))
        + while( offset < dataDirectory.length() && Character.isSpaceChar( dataDirectory.charAt( offset)))
        offset ++;
        int leftParen = -1;
        int rightParen = -1;

        Attachments

        1. sc.diff
          1 kB
          Dave Brosius

          Issue Links

            Activity

              People

              • Assignee:
                dbrosius Dave Brosius
                Reporter:
                dbrosius Dave Brosius
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: