Artifact 6b9d738381f5ddf4d298ef7e2bc0df0ced8298c2:
- File src/fsl.c — part of check-in [f2676cbcc2] at 2022-11-20 12:20:30 on branch trunk — ensure dstsz-1 is greater than the current length of dst Although somewhat contrived it's a potential problem nonetheless: if the caller passes a destination buffer that contains a string greater than the passed in size of the destination buffer (which is senseless at it means the buffer is already overflowed), we write the full length of src, which could overflow dst. This change makes our fsl_strlcat() implementation behave the same as OpenBSD's strlcat(3) in testing. (user: mark size: 28864)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.