Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This noncompliant example attempts to read a long into an int. This works for models where in which sizeof(int) == sizeof(long). On For others, it causes an unexpected memory write similar to a buffer overflow.

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

...

...

Bit representations

...

[STR]

Bibliography

...