catools: Change behaviour of camonitor when printing array of chars as string
camonitor was using strlen() to find out the length of the array to print as %s string, which led to printing old buffer contents when the array-string was not null terminated. Now uses the minimum of strlen(), elements received, and elements requested. Suggested by Mark Rivers on tech-talk (11 Sep 2012)
Please register or sign in to comment