Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-198

Comment line ending file creates infinite loop in Session Settings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: Engine
    • Labels:
      None

      Description

      If you create a configuration properties file which ends with a comment line with no carriage return, SessionSettings will go into an infinite loop when it tries to read it. This is because of the comment line handing code in lines 502-510 in SessionSettings. A change could either be made to isNewLineCharacter(), (which might have unintended side effects with the other places it is called) or in the condition on the while loop.

        Attachments

          Activity

            People

            • Assignee:
              jthoennes Jörg Thönnes
              Reporter:
              nfortescue_boa Nick Fortescue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: