...
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.
...