From: Thibault, Daniel Date: Fri, 27 Jan 2012 19:33:07 +0000 (-0500) Subject: Document and enforce return values X-Git-Tag: v2.0-pre19~30 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=27089920577ab0b7e237c4ec6ef2d8bdcea4a5ed;hp=27089920577ab0b7e237c4ec6ef2d8bdcea4a5ed Document and enforce return values In config_read_session_name(), moved the malloc to the beginning, to avoid the fscanf() loop from trying to write to a NULL In config_add_session_name(), dealt with another snprintf() occurrence Signed-off-by: Daniel U. Thibault Signed-off-by: David Goulet ---