You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Manjesh Nilange (JIRA)" <ji...@apache.org> on 2010/03/20 00:04:27 UTC

[jira] Created: (TS-262) Trie code crashes when negative value characters are present in the path

Trie code crashes when negative value characters are present in the path
------------------------------------------------------------------------

                 Key: TS-262
                 URL: https://issues.apache.org/jira/browse/TS-262
             Project: Traffic Server
          Issue Type: Bug
          Components: Core
            Reporter: Manjesh Nilange
            Assignee: Manjesh Nilange
             Fix For: 2.0.0a


The trie code expects all the characters in the path to be legal ASCII values (<128). However to make it secure for now (to discount rogue characters causing a crash) and to support non-ASCII paths in the future, the trie code should treat each character of the path as an unsigned char and not as an int.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TS-262) Trie code crashes when negative value characters are present in the path

Posted by "Manjesh Nilange (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manjesh Nilange resolved TS-262.
--------------------------------

    Resolution: Fixed

> Trie code crashes when negative value characters are present in the path
> ------------------------------------------------------------------------
>
>                 Key: TS-262
>                 URL: https://issues.apache.org/jira/browse/TS-262
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Manjesh Nilange
>            Assignee: Manjesh Nilange
>             Fix For: 2.0.0
>
>
> The trie code expects all the characters in the path to be legal ASCII values (<128). However to make it secure for now (to discount rogue characters causing a crash) and to support non-ASCII paths in the future, the trie code should treat each character of the path as an unsigned char and not as an int.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-262) Trie code crashes when negative value characters are present in the path

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-262:
-----------------------------

    Fix Version/s: 2.0.0
                       (was: 2.0.0a)

Please make sure this is backported to 2.0.x branch, and then close this ticket.

> Trie code crashes when negative value characters are present in the path
> ------------------------------------------------------------------------
>
>                 Key: TS-262
>                 URL: https://issues.apache.org/jira/browse/TS-262
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Manjesh Nilange
>            Assignee: Manjesh Nilange
>             Fix For: 2.0.0
>
>
> The trie code expects all the characters in the path to be legal ASCII values (<128). However to make it secure for now (to discount rogue characters causing a crash) and to support non-ASCII paths in the future, the trie code should treat each character of the path as an unsigned char and not as an int.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira