summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/test_util.py
diff options
context:
space:
mode:
authorBernhard Messerklinger <bernhard.messerklinger@br-automation.com>2025-04-04 09:27:57 +0200
committerMichal Simek <michal.simek@amd.com>2025-04-16 15:39:48 +0200
commit970152e4d1d0a839bf004e701ced597e8fc23237 (patch)
treedc5b58002a51c8489fdf33bf0f8379a5699ca735 /tools/u_boot_pylib/test_util.py
parent672d081196b92745799149714d4cd7f58d9fd356 (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