Skip to content

Rule: Pointer indirection level changed

Canonical rule slug: pointer-level. ← back to all rules

A parameter gains or loses a level of indirection, so existing callers pass a value the callee dereferences incorrectly.

Canonical demonstration