Searched hist:96559 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/lib/libcam/
H A Dcamlib.cdiff 96559 Tue May 14 02:32:02 MDT 2002 ken string cleanup:

- fix a potential overrun made worse by rev 1.5 of camlib.h
- change strncpy() and strcpy() calls to strlcpy()
- use sizeof(string[]) instead of STRING_LEN to avoid future problems
- get rid of an unused variable

Thanks to BDE for pointing out some of the problems.

MFC after: 2 weeks

Completed in 50 milliseconds