Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. The OpenBSD operating system is noted for its security focus and for the development of a number of security features.Bugs and security flaws are often caused by programmer error. A common source of error is the misuse of the strcpy and strcat string functions in the C programming ...Full description
Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. The OpenBSD operating system is noted for its security focus and for the development of a number of security features.Bugs and security flaws are often caused by programmer error. A common source of error is the misuse of the strcpy and strcat string functions in the C programming language. There are two common alternatives, strncpy and strncat, but they can be difficult to understand and easy to misuse, so OpenBSD developers Todd C. Miller and Theo de Raadt designed the strlcpy and strlcat functions. These functions are logical and easier to use, making it harder for programmers to accidentally leave buffers unterminated or allow them to be overflowed.