serialize string input robustness
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 15 Aug 2010 23:11:37 +0000 (19:11 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 16 Aug 2010 04:13:19 +0000 (00:13 -0400)
commitbb3132c8c50b09bd3ca54dc88f9ddb3c0847ba41
tree7dcf6b9339054f6d6122213c41d0ff7a1bc12446
parentee4c34673a261a035d224096db82e6b70ba085ca
serialize string input robustness

Make sure we handle concurrently modified input strings gracefully.

Adds ust_buffers_strncpy interface. It fixes up the string if it does not fills
exactly the space allocated. Ensures the string ends with \0.

Removes unused "_ust_buffers_write" at the same time.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust/probe.h
libust/buffers.c
libust/buffers.h
libust/serialize.c
libust/tracer.h
This page took 0.024425 seconds and 4 git commands to generate.