diff options
author | Danny Holman <dholman@gymli.xyz> | 2021-01-20 22:47:46 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.xyz> | 2021-01-20 22:47:46 -0600 |
commit | fd4bd4dabe8011b016e3f8e6c3de5cfe6bc1f41d (patch) | |
tree | 95061887af560f1c46b0d6259ae20030da7af8fd /include | |
parent | 7e1bf77c0be04a34d8c4576f030ffc3ef973ac44 (diff) |
kernel: iterate over string with index
Iterate over a formatted string with an index and strlen instead of
using a non-const pointer. The latter method may result in unsafe memory
conditions.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions