Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1983

Parsing QD_AMQP__LONG uses wrong type for high-order byte shift

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.15.0
    • 1.16.0
    • Router Node
    • None

    Description

      This error shows up from time to time.

       

      19: ../src/parse.c:497:66: runtime error: left shift of 128 by 56 places cannot be represented in type 'long int'
      

      No self test reproduces it on demand.

      Code inspection reveals an easy type-cast fix with no run time impact.

      Attachments

        Issue Links

          Activity

            People

              chug Charles E. Rolke
              chug Charles E. Rolke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: