urlapi: fix use-after-free bug

Follow-up from 2c20109a9b

Added test 663 to verify.

Reported by OSS-Fuzz
Bug: https://crbug.com/oss-fuzz/17954

Closes #4453
This commit is contained in:
Daniel Stenberg 2019-10-03 13:24:43 +02:00
parent 13ecc0725f
commit 02c6b984cb
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 116 additions and 36 deletions

View file

@ -84,7 +84,7 @@ test626 test627 test628 test629 test630 test631 test632 test633 test634 \
test635 test636 test637 test638 test639 test640 test641 test642 \
test643 test644 test645 test646 test647 test648 test649 test650 test651 \
test652 test653 test654 test655 test656 test658 test659 test660 test661 \
test662 \
test662 test663 \
\
test700 test701 test702 test703 test704 test705 test706 test707 test708 \
test709 test710 test711 test712 test713 test714 test715 test716 test717 \