From: Graham W. <gr...@mk...> - 2004-11-12 19:27:04
|
On Fri, Nov 12, 2004 at 12:13:09PM -0600, Graham Wilson wrote: > On Wed, Nov 10, 2004 at 02:38:11PM -0600, sv...@de... wrote: > [...] > > Why did you switch to strcat (which doesn't check bounds) instead of > snprintf? I would think we should just change that sprintf call to > snprintf. > > [...] > > These should be changed to snprintf as well I assume? Alright, I see now that these things shouldn't ever overflow, so I guess it is a moot point whether to use snprintf or not. -- gram |