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/03/01 14:03:00 UTC
[jira] [Closed] (DISPATCH-1983) Parsing QD_AMQP__LONG uses wrong
type for high-order byte shift
[ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org