[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wget-dev] wget2 | Fix null-pointer dereference on -r -np (!371)
From: |
Tsukasa OI |
Subject: |
[Wget-dev] wget2 | Fix null-pointer dereference on -r -np (!371) |
Date: |
Thu, 03 May 2018 06:47:04 +0000 |
New Merge Request !371
https://gitlab.com/gnuwget/wget2/merge_requests/371
Project:Branches: a4lg/wget2:fix--r--np to gnuwget/wget2:master
Author: Tsukasa OI
Assignee:
When `-r` and `-np` options are enabled, wget2 will crash while adding URL like
`http://example.com` (domain alone without slashes). This commit resolves this
problem by additional checking of `iri->path`. I also modified the test
`tests/test-np.c` to detect this special case.
I consider this change is too small to be copyrighted but alert me if I need
the FSF Copyright Assignment before this contribution.
### Approver's checklist:
* [ ] The author has submitted the FSF Copyright Assignment and is listed in
AUTHORS
* [ ] There is a test suite reasonably covering new functionality or
modifications
* [ ] Function naming, parameters, return values, types, etc., are consistent
with existing code
* [ ] This feature/change has adequate documentation added (if appropriate)
* [ ] No obvious mistakes / misspelling in the code
---
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/merge_requests/371
You're receiving this email because of your account on gitlab.com.
- [Wget-dev] wget2 | Fix null-pointer dereference on -r -np (!371),
Tsukasa OI <=
- Message not available
- Message not available
- Message not available