Subject: Re: minor tweak to kern_kthread.c
To: Guenther Grau <Guenther.Grau@bk.bosch.de>
From: Erik E. Fair <firstname.lastname@example.org>
Date: 04/09/1999 01:56:32
For the case named in the file in the subject, there were pointers to
objects of indeterminate size, which vsnprintf will limit copying from by
the limit specified in the API, but ...
(sweet Emily Litella smile) Never Mind.
A check of the vsnprintf API guarantees that the result will always be null
terminated; I was remembering the pitfall with strncpy(3) which does not
make such a guarantee. RTFM!