It looks like a buffer overflow. C is notorious for them. September is the month with the longest name, Wednesday is the day with the longest name, and 10-1 are the times of the day with the most digits. Presumably, when converting the current time into a human-readable format, the array he was storing it in was one character too short to fit all that information in. Thus, the buffer overflowed an overwrote something important, causing it to crash.
26
u/Din182 Jul 20 '18
It looks like a buffer overflow. C is notorious for them. September is the month with the longest name, Wednesday is the day with the longest name, and 10-1 are the times of the day with the most digits. Presumably, when converting the current time into a human-readable format, the array he was storing it in was one character too short to fit all that information in. Thus, the buffer overflowed an overwrote something important, causing it to crash.