Fix: save session usage of string size
authorDavid Goulet <dgoulet@efficios.com>
Wed, 12 Mar 2014 17:29:44 +0000 (13:29 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 12 Mar 2014 17:29:44 +0000 (13:29 -0400)
commitd2992717e6c3df45a80c8529e50ab18b4415a0ac
treed474f3470f9844ca2c54a4a1e34eec829ecd3b98
parentdfe338611a5ccfa544186c3539fef278c8289080
Fix: save session usage of string size

Kind of fixes coverity issue 1191758 since there was a bad check but the
reported issue does not makes sense since there is in fact a validation
before writing the string making the "len" variable never able to reach
4096 (PATH_MAX).

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/save.c
This page took 0.025394 seconds and 4 git commands to generate.