Pointer arithmetic on a null pointer is undefined behavior.
The bug can be reproduced by running bin/sh/tests/builtins/wait6.0 with
UBSAN.
Differential D34011
sh: Don't add something to a null pointer jilles on Jan 23 2022, 9:28 PM. Authored by Tags None Referenced Files
Subscribers
Details
Pointer arithmetic on a null pointer is undefined behavior. The bug can be reproduced by running bin/sh/tests/builtins/wait6.0 with kyua test
Diff Detail
|