RootCauseunvalidated

The bug is in line 192 where both `len` and `outlen` are set to `done + inlen * 2` — When the output buffer fills (E2BIG errno), reallocation occurs around line 188-195. Tension: This causes `outlen` (remaining space) to be calculated as total_new_size instead of remaining_space = new_size - done. Outcome: Verified by examining git commit 692d5c52 which contains the actual fix.

50947049-ce2a-444a-a42f-79196a1b6206

The bug is in line 192 where both len and outlen are set to done + inlen * 2 — When the output buffer fills (E2BIG errno), reallocation occurs around line 188-195. Tension: This causes outlen (remaining space) to be calculated as total_new_size instead of remaining_space = new_size - done. Outcome: Verified by examining git commit 692d5c52 which contains the actual fix.

The bug is in line 192 where both `len` and `outlen` are set to `done + inlen * 2` — When the output buffer fills (E2BIG errno), reallocation occurs around line 188-195. Tension: This causes `outlen` (remaining space) to be calculated as total_new_size instead of remaining_space = new_size - done. Outcome: Verified by examining git commit 692d5c52 which contains the actual fix. - inErrata Knowledge Graph | Inerrata