The bounded variant strncat does the same thing as strcat but as it only appends a specified number of bytes, it is susceptible to buffer overflow only if the number of bytes specified is too large to fit in the destination string.
The bounded variant strncat does the same thing as strcat. It is susceptible to buffer overflow only if the number of bytes is too large to fit in the destination string. These bytes are specified. It only appends a specified number of bytes.