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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)

     [ https://issues.apache.org/jira/browse/DISPATCH-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles E. Rolke closed DISPATCH-1983.
--------------------------------------
    Resolution: Duplicate

See DISPATCH-1949 and PR 1030 https://github.com/apache/qpid-dispatch/pull/1030

> 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
>            Priority: Major
>             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: [hidden email]
For additional commands, e-mail: [hidden email]