HomeFreeBSD

indent(1): Avoid out of bound access of array codebuf.

Description

indent(1): Avoid out of bound access of array codebuf.

dump_line() requires s_code to be a string, because it will call count_spaces().

Differential Revision: https://reviews.freebsd.org/D6966 (Partial)
Obtained from: Piotr Stefaniak

Details

Provenance
pfgAuthored on
Parents
rS303481: Fix typo.
Branches
Unknown
Tags
Unknown