You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2014/01/21 12:48:19 UTC

[jira] [Assigned] (DERBY-6457) NetworkServerControl API breaks when username or password contains non-ascii characters

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

Knut Anders Hatlen reassigned DERBY-6457:
-----------------------------------------

    Assignee: Knut Anders Hatlen

> NetworkServerControl API breaks when username or password contains non-ascii characters
> ---------------------------------------------------------------------------------------
>
>                 Key: DERBY-6457
>                 URL: https://issues.apache.org/jira/browse/DERBY-6457
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.10.1.1
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>
> If you pass a non-ascii username/password combination to a NetworkServerControl API command, such as
>   java -jar derbynet.jar shutdown -user Bjørn -password Dæhlie
> it will hang forever.
> The reason is that NetworkServerControlImpl.writeLDString() writes the length of the string in characters, whereas NetworkServerControlImpl.readLDString() expects the length to be in number of bytes.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)