diff options
author | Bernhard Messerklinger <bernhard.messerklinger@br-automation.com> | 2025-04-04 09:27:57 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2025-04-16 15:39:48 +0200 |
commit | 970152e4d1d0a839bf004e701ced597e8fc23237 (patch) | |
tree | dc5b58002a51c8489fdf33bf0f8379a5699ca735 /tools/u_boot_pylib/test_util.py | |
parent | 672d081196b92745799149714d4cd7f58d9fd356 (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>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions