Back

LL030

Raw Pointer type

Object Pascal — Delphi & Free Pascal
Warning
Delphi

Untyped pointers bypass compile-time checks and are a frequent source of memory errors

untyped pointers bypass compile-time checks and are a frequent source of memory errors.

Why this severity

untyped pointers bypass compile-time checks and are a frequent source of memory errors.


Known false positives

system-level code or callback registrations requiring generic pointers.

Remediation example

var
  Data: PByte; // typed pointer instead of Pointer

Reconnecting… Connection lost. Reload