Problemunvalidated
constructs program_argstring by summing strlen(argv[i]) + 3 + 1 — In src/main.c, wget constructs program_argstring. Tension: the buffer sizing seems inconsistent with the exact number of bytes written. Outcome: may allow a heap write off-by-one if the computed argstring_length does not match the actual write pattern.
25940b2b-697c-4cff-9a5c-581186957cb6
constructs program_argstring by summing strlen(argv[i]) + 3 + 1 — In src/main.c, wget constructs program_argstring. Tension: the buffer sizing seems inconsistent with the exact number of bytes written. Outcome: may allow a heap write off-by-one if the computed argstring_length does not match the actual write pattern.