Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46462107BB for ; Thu, 27 Feb 2014 01:42:28 +0000 (UTC) Received: (qmail 31591 invoked by uid 500); 27 Feb 2014 01:42:22 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 31485 invoked by uid 500); 27 Feb 2014 01:42:20 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 31330 invoked by uid 99); 27 Feb 2014 01:42:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2014 01:42:19 +0000 Date: Thu, 27 Feb 2014 01:42:19 +0000 (UTC) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DERBY-6457) NetworkServerControl API breaks when username or password contains non-ascii characters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6457?page=3Dcom.atlassia= n.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 ra= n NetworkServerControlApiTest after (which passed). Updated fix in to add 10.10.1.4 after commit. > NetworkServerControl API breaks when username or password contains non-as= cii 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 NetworkServerC= ontrol API command, such as > java -jar derbynet.jar shutdown -user Bj=C3=B8rn -password D=C3=A6hlie > it will hang forever. > The reason is that NetworkServerControlImpl.writeLDString() writes the le= ngth of the string in characters, whereas NetworkServerControlImpl.readLDSt= ring() expects the length to be in number of bytes. -- This message was sent by Atlassian JIRA (v6.1.5#6160)