summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-07-17 09:43:29 +0100
committerTom Rini <[email protected]>2025-07-22 11:30:14 -0600
commit23d2c182d4be9f993a4e4d8f4fc6293e4d5a9ff8 (patch)
tree56ac634aaf9c6e681f2077f4cbf4a16f99366fc2 /include/linux/linux_string.h
parentafca60620ad7958fbee2d5518de0383483c82ced (diff)
fastboot: Fix off by 1 error
strlen only reports length of string not including terminating 0 byte but this has to be included in length of receiving buffer on copy so adjust length check to be correct. This issue found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions