commit | eb088894dc9fb08eb3da82b86ebdabe82ae45940 | [log] [tgz] |
---|---|---|
author | Jit Loon Lim <jit.loon.lim@altera.com> | Mon Mar 17 16:25:53 2025 +0800 |
committer | Jit Loon Lim <jit.loon.lim@altera.com> | Wed Mar 19 12:57:35 2025 +0800 |
tree | 56401e73beacc9f247bd4484e011acc49ce7844c | |
parent | 5a16264208663990208e26d8e9861c0b24983e1b [diff] |
feat(lib): implement strnlen secure and strcpy secure function Implement safer version of 'strnlen' function to handle NULL terminated strings with additional bound checking and secure version of string copy function to support better security and avoid destination buffer overflow. Change-Id: I93916f003b192c1c6da6a4f78a627c8885db11d9 Signed-off-by: Jit Loon Lim <jit.loon.lim@altera.com> Signed-off-by: Girisha Dengi <girisha.dengi@intel.com>