From: Mathieu Desnoyers Date: Fri, 4 Mar 2011 14:10:40 +0000 (-0500) Subject: Fix off-by-one in open_memstream X-Git-Tag: v0.12~12 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=83aa16929ed1e60fabe1bda4824e7c4942ff42ec;hp=83aa16929ed1e60fabe1bda4824e7c4942ff42ec;p=ust.git Fix off-by-one in open_memstream size returned by open_memstream does not include the final \0. We have to add 1 to the size of the message sent. Signed-off-by: Mathieu Desnoyers ---