Improve protection around strncpy and memcpy calls
authorDavid Goulet <david.goulet@polymtl.ca>
Wed, 3 Aug 2011 21:11:44 +0000 (17:11 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Wed, 3 Aug 2011 21:11:44 +0000 (17:11 -0400)
Add copy_string which check for null pointer and add the null terminated
byte by default.

All pointer pass to memcpy are checked for null value.

All lttng_domain pointer are checked also for null value.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>

No differences found
This page took 0.025921 seconds and 4 git commands to generate.