lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1203111157590.5402-100000@netrider.rowland.org>
Date:	Sun, 11 Mar 2012 12:01:27 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Dan Carpenter <dan.carpenter@...cle.com>
cc:	"K. Y. Srinivasan" <kys@...rosoft.com>,
	<gregkh@...uxfoundation.org>, <linux-kernel@...r.kernel.org>,
	<devel@...uxdriverproject.org>, <virtualization@...ts.osdl.org>,
	<ohering@...e.com>
Subject: Re: [PATCH 2/4] Drivers: hv: Support the newly introduced KVP messages
 in the driver

On Sun, 11 Mar 2012, Dan Carpenter wrote:

> Btw I don't know if utf16s_to_utf8s() counts the NUL char or not.
> It feels like maybe we could end up with ->value_size equal to
> HV_KVP_EXCHANGE_MAX_VALUE_SIZE + 1.

It does not count NUL characters.  If it encounters a NUL character in
the input, it stops right away without copying that character to the
output.  If it reaches the end of the input, it does not add a
terminating NUL character to the output.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ