Versions Compared

Key

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

...

Using arrays polymorphically can result in memory corruption which could lead to an attacker being able to execute arbitrary code.

References

  • Sutter 04 Item 100: Don't treat arrays polymorphically.
  • Meyers 06 Item 3: Never treat arrays polymorphically.

...