commit | 7cb6a7425736d9f89e67d4b6a2f763e5a1240488 | [log] [tgz] |
---|---|---|
author | Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> | Fri Apr 04 09:27:57 2025 +0200 |
committer | Michal Simek <michal.simek@amd.com> | Wed Apr 16 15:39:48 2025 +0200 |
tree | dc5b58002a51c8489fdf33bf0f8379a5699ca735 | |
parent | ebdfd190fa10a5782ba2dcdc08da372408da7790 [diff] |
board/BuR/common: use strlcpy instead of strncpy Now strlcpy is used to copy the defip string to the corresponding environment variable. This preserves memory for the NULL termination. Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> Link: https://lore.kernel.org/r/20250404072819.69642-2-bernhard.messerklinger@br-automation.com Signed-off-by: Michal Simek <michal.simek@amd.com>