CertC-MEM07ΒΆ

Ensure that the arguments to calloc(), when multiplied, do not wrap

Required inputs: IR

This Cert Rule and the following description is deprecated!

Excerpt from SEI CERT C Coding Standard: Rules for Developing Safe, Reliable, and Secure Systems (2016 Edition) and SEI CERT C Coding Standard [https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/recommendations/memory-management-mem/mem07-c], Copyright (C) 1995-2026 Carnegie Mellon University. See 9.4 3rd-Party Licenses in the documentation for full details.

Possible Messages

Key

Text

Severity

Disabled

possible_wrap_multiplied_calloc_arguments

Ensure that the arguments to calloc(), when multiplied, do not wrap.

None

False

Options