79283793

Date: 2024-12-16 06:39:03
Score: 1
Natty:
Report link

Arrays are 0 indexed. This means while you count 5 Values (1,2,3,4,5) Arrays count with: 0,1,2,3,4 your for-loop asks for smaller-equal to Buffersize (<=) while it should be <. Your array runs in the current state out of bounds which causes an overflow which again causes Undefined Behaviour

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: LMA