* [Qemu-devel] [PATCH] Docs: proto.md: Clarify NUL in export name
@ 2016-03-31 23:16 Alex Bligh
2016-04-01 8:37 ` [Qemu-devel] [Nbd] " Wouter Verhelst
0 siblings, 1 reply; 2+ messages in thread
From: Alex Bligh @ 2016-03-31 23:16 UTC (permalink / raw)
To: Eric Blake, Wouter Verhelst
Cc: nbd-general@lists.sourceforge.net, qemu-devel@nongnu.org,
Alex Bligh
Clarify that
* The name is not NUL terminated (not just that the length
'does not include NUL termination' which might be taken to mean
there is NUL termination but the length doesn't include it.
* The name cannot itself include embedded NUL characters (despite
it not being NUL terminated).
Signed-off-by: Alex Bligh <alex@alex.org.uk>
---
doc/proto.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/proto.md b/doc/proto.md
index c1e05c5..7729051 100644
--- a/doc/proto.md
+++ b/doc/proto.md
@@ -292,7 +292,8 @@ of the newstyle negotiation.
haggling, and proceed to the transmission phase. Data: name of the
export, free-form UTF-8 text (subject to limitations by server
implementation). The length of the name is determined from the
- option header, and does NOT include a NUL terminator. If the
+ option header. The name is not NUL terminated, and may not
+ contain embedded NUL characters. If the
chosen export does not exist or requirements for the chosen export
are not met (e.g., the client did not negotiate TLS for an export
where the server requires it), the server should close the
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [Nbd] [PATCH] Docs: proto.md: Clarify NUL in export name
2016-03-31 23:16 [Qemu-devel] [PATCH] Docs: proto.md: Clarify NUL in export name Alex Bligh
@ 2016-04-01 8:37 ` Wouter Verhelst
0 siblings, 0 replies; 2+ messages in thread
From: Wouter Verhelst @ 2016-04-01 8:37 UTC (permalink / raw)
To: Alex Bligh; +Cc: nbd-general@lists.sourceforge.net, qemu-devel@nongnu.org
Thanks, applied.
On Fri, Apr 01, 2016 at 12:16:48AM +0100, Alex Bligh wrote:
> Clarify that
>
> * The name is not NUL terminated (not just that the length
> 'does not include NUL termination' which might be taken to mean
> there is NUL termination but the length doesn't include it.
>
> * The name cannot itself include embedded NUL characters (despite
> it not being NUL terminated).
>
> Signed-off-by: Alex Bligh <alex@alex.org.uk>
> ---
> doc/proto.md | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/doc/proto.md b/doc/proto.md
> index c1e05c5..7729051 100644
> --- a/doc/proto.md
> +++ b/doc/proto.md
> @@ -292,7 +292,8 @@ of the newstyle negotiation.
> haggling, and proceed to the transmission phase. Data: name of the
> export, free-form UTF-8 text (subject to limitations by server
> implementation). The length of the name is determined from the
> - option header, and does NOT include a NUL terminator. If the
> + option header. The name is not NUL terminated, and may not
> + contain embedded NUL characters. If the
> chosen export does not exist or requirements for the chosen export
> are not met (e.g., the client did not negotiate TLS for an export
> where the server requires it), the server should close the
> --
> 1.9.1
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
> _______________________________________________
> Nbd-general mailing list
> Nbd-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nbd-general
>
--
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
people in the world who think they really understand all of its rules,
and pretty much all of them are just lying to themselves too.
-- #debian-devel, OFTC, 2016-02-12
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-01 8:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31 23:16 [Qemu-devel] [PATCH] Docs: proto.md: Clarify NUL in export name Alex Bligh
2016-04-01 8:37 ` [Qemu-devel] [Nbd] " Wouter Verhelst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).