You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2016/11/21 10:43:59 UTC

[jira] [Created] (QPID-7534) EncodingUtils#readLongAsShortString does not guard against the string containing characters not in the range '0'-'9'

Alex Rudyy created QPID-7534:
--------------------------------

             Summary: 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: qpid-java-6.1, qpid-java-6.0.5, qpid-java-6.0.4, qpid-java-6.0.3, qpid-java-6.0.2, qpid-java-6.0.1, qpid-java-6.0, 0.32
            Reporter: Alex Rudyy
             Fix For: qpid-java-6.2


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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org