[
https://issues.apache.org/jira/browse/QPID-7534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683228#comment-15683228
]
ASF subversion and git services commented on QPID-7534:
-------------------------------------------------------
Commit 1770644 from [email protected] in branch 'java/trunk'
[ https://svn.apache.org/r1770644 ]
QPID-7534: EncodingUtils#readLongAsShortString should guard against the string
containing characters not in the range '0'-'9'
> EncodingUtils#readLongAsShortString does not guard against the string
> containing characters not in the range '0'-'9'
> --------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-7534
> URL: https://issues.apache.org/jira/browse/QPID-7534
> Project: Qpid
> Issue Type: Bug
> Components: Java Common
> Affects Versions: 0.32, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2,
> qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.1
> Reporter: Alex Rudyy
> Priority: Trivial
> Fix For: qpid-java-6.2
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> EncodingUtils#readLongAsShortString does not guard against the string
> containing characters not in the range '0'-'9'. Especially, the lines
> containing the following:
> {{result = digit - (byte) '0';}}
> {{result += digit - (byte) '0';}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]