Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 331 Bytes

bufferNotZeroTerminated.md

File metadata and controls

11 lines (6 loc) · 331 Bytes

Pattern: Buffer not null-terminated

Issue: -

Description

The buffer is not null-terminated after the call to strncpy(). This will cause bugs later in the code if the code assumes the buffer is null-terminated.

Further Reading