Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 342 Bytes

pointerSize.md

File metadata and controls

11 lines (6 loc) · 342 Bytes

Pattern: Size of pointer used instead of size of its data

Issue: -

Description

Size of pointer used instead of size of its data. This is likely to lead to a buffer overflow. You probably intend to write sizeof(*varname).

Further Reading