commit | 2d4d29f5556c9838844378462652c8ec2b400839 | [log] [tgz] |
---|---|---|
author | Imre Kis <imre.kis@arm.com> | Fri Apr 26 12:57:22 2024 +0200 |
committer | Imre Kis <imre.kis@arm.com> | Thu May 02 10:37:23 2024 +0200 |
tree | 117082b59929413f113557a7a2abe8a2fef5b4d8 | |
parent | 033d51adc99739418936146f3bd4d6588d9c8e5a [diff] |
Fix strncpy length in SP config loader The length parameter of strncpy calls in sp_config_loader.c do not account for the terminating null character which can cause unterminated strings and compiler error in release build. Decrease length by one to solve the issue. Signed-off-by: Imre Kis <imre.kis@arm.com> Change-Id: I1540d038482ed1ac98e2c400359516f6fd287086