Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Easy to repro:
Crash introduced by commit c2a809cd265c37e7bbef55e64d70114d2f0d7189
The last goto added there is after newform has been added to list (formp), so curl then crashes since the list contains a freed entry.
Obvious fix is to move the list link adjustment to after the "if (size)" block, but then the error is rather vague:
curl: (43) A libcurl function was given a bad argument
curl 7.50.3, macOS Sierra
I agree that the error message is annoyingly cryptic, but it is hard to fix easily since we have no
So, I'll merge this easy fix now.