You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Charles E. Rolke (Jira)" <ji...@apache.org> on 2021/02/28 16:10:00 UTC

[jira] [Created] (DISPATCH-1983) Parsing QD_AMQP__LONG uses wrong type for high-order byte shift

Charles E. Rolke created DISPATCH-1983:
------------------------------------------

             Summary: Parsing QD_AMQP__LONG uses wrong type for high-order byte shift
                 Key: DISPATCH-1983
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1983
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Router Node
    Affects Versions: 1.15.0
            Reporter: Charles E. Rolke
            Assignee: Charles E. Rolke
             Fix For: 1.16.0


This error shows up from time to time.

 
{code:java}
19: ../src/parse.c:497:66: runtime error: left shift of 128 by 56 places cannot be represented in type 'long int'
{code}
No self test reproduces it on demand.

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org