Uploaded image for project: 'OpenFAST'
  1. OpenFAST
  2. FAST-6

MulticastInputStream wors incorrectly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.9.8
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      MulticastInputStream extends InputStream and incorrectly implements

      public int read() {
      ...
      return buffer.get();
      }

      It should be:

      public int read() {
      ...
      return buffer.get() & 0xFF; // convert int to byte
      }

        Attachments

          Activity

            People

            • Assignee:
              jacob_northey Jacob Northey
              Reporter:
              a.kosenkov Alexander Kosenkov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: