Fix off-by-one in open_memstream
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 4 Mar 2011 14:10:40 +0000 (09:10 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 4 Mar 2011 14:10:40 +0000 (09:10 -0500)
commit83aa16929ed1e60fabe1bda4824e7c4942ff42ec
tree979421a91bf946e246d0bad857dae107210c5550
parent3b297856588b77dcd20ad7497ee46ab68c94c4d9
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 <mathieu.desnoyers@efficios.com>
libust/tracectl.c
This page took 0.024568 seconds and 4 git commands to generate.