Skip to content
Commit 781b82ba authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Reverted the zero-byte-in-name check to instead rely on the fact that strlen

and the name length differ in those cases and thus leave the matching function
unmodified from before, as the matching functions never have to bother with
the zero bytes in legitimate cases. Peter Sylvester helped me realize that
this fix is slightly better as it leaves more code unmodified and makes the
detection a bit more obvious in the code.
parent 2838362a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment