HomeFreeBSD

sh: Fix formal overflow in pointer arithmetic

Description

sh: Fix formal overflow in pointer arithmetic

The intention is to lower the value of the pointer, which according to ubsan
cannot be done by adding an unsigned quantity.

Reported by: kevans
Approved by: re (kib)
MFC after: 1 week

Details

Provenance
jillesAuthored on
Parents
rS338472: Correct the condition under which we allocate a terminator node.
Branches
Unknown
Tags
Unknown