db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6457) NetworkServerControl API breaks when username or password contains non-ascii characters
Date Thu, 27 Feb 2014 01:42:19 GMT

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

Myrna van Lunteren updated DERBY-6457:
--------------------------------------

    Affects Version/s: 10.10.1.4
        Fix Version/s: 10.10.1.4

I confirmed that the behavior of the repro existed with 10.10.1.4, and was fixed after the
merge, so added that to the affected versions list. Only ran NetworkServerControlApiTest after
(which passed).
Updated fix in to add 10.10.1.4 after commit.

> 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, 10.10.1.4
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>             Fix For: 10.10.1.4, 10.11.0.0
>
>         Attachments: d6457-1a.diff
>
>
> 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)

Mime
View raw message