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

ASAN flags shift errors on signed conversion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.14.0, 1.15.0
    • 1.16.0
    • Router Node
    • None

    Description

      Raised during the unit_test* ctests:

       

      8: /home/kgiusti/work/dispatch/qpid-dispatch/src/parse.c:509:74: runtime error: left shift of 128 by 24 places cannot be represented in type 'int\
      '
      8: /home/kgiusti/work/dispatch/qpid-dispatch/src/parse.c:497:66: runtime error: left shift of 128 by 56 places cannot be represented in type 'lon\
      g int'

      Attachments

        Issue Links

          Activity

            People

              kgiusti Ken Giusti
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: