summaryrefslogtreecommitdiff
path: root/src/lib/libc/string
diff options
context:
space:
mode:
authortb <>2022-07-22 13:10:31 +0000
committertb <>2022-07-22 13:10:31 +0000
commitdf012ad97a36504ad89d252d2f4c277ea795c58f (patch)
treef3cae018c6e17a2ca93fead33ed5862d582751e1 /src/lib/libc/string
parentcb77147197afdaf2aea9b25f6657216bca4c8fc5 (diff)
downloadopenbsd-df012ad97a36504ad89d252d2f4c277ea795c58f.tar.gz
openbsd-df012ad97a36504ad89d252d2f4c277ea795c58f.tar.bz2
openbsd-df012ad97a36504ad89d252d2f4c277ea795c58f.zip
Remove redundant length checks in parse functions
The main parsing function already checks that the entire extension data was consumed, so the length checks inside some of the parse handlers are redundant. They were also not done everywhere, so this makes the parse handlers more consistent. Similar diff was sent by jsing a long while back ok jsing
Diffstat (limited to 'src/lib/libc/string')
0 files changed, 0 insertions, 0 deletions