製品が文字列または配列をヌル文字または同等の終端記号で終端していないか、または誤って終端しています。
ヌル終了エラーは、2つの異なる方法で頻繁に発生する。1個ずつのエラーによってNULLが境界外に書き込まれ、オーバーフローを引き起こす可能性がある。あるいは、プログラムがstrncpy()関数コールを誤って使用し、ヌル・ターミネータがまったく追加されないようにする。その他のシナリオも考えられる。
The product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator.
Null termination errors frequently occur in two different ways. An off-by-one error could cause a null to be written out of bounds, leading to an overflow. Or, a program could use a strncpy() function call incorrectly, which prevents a null terminator from being added at all. Other scenarios are possible.