79366997

Date: 2025-01-18 10:56:57
Score: 3
Natty:
Report link

If you have pointers to vector-elements and you have not reserved space before push_back(), those pointer could get invalid, when the vector resizes and when it moves its element-addresses to more space.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Oli