mirror of
https://github.com/nmap/nmap.git
synced 2025-12-21 15:09:02 +00:00
Use just PAGE_READWRITE, not PAGE_READONLY | PAGE_READWRITE in the call to
CreateFileMapping in utils.cc. The combination of two flags was illegal, and caused a crash that looks like ..\utils.cc(996): CreateFileMapping(), file 'testresume', length 103, mflags 000 00006: The parameter is incorrect. (87) The crash could be caused by resuming a scan with --resume on Windows.
This commit is contained in:
@@ -1,5 +1,14 @@
|
|||||||
# Nmap Changelog ($Id$); -*-text-*-
|
# Nmap Changelog ($Id$); -*-text-*-
|
||||||
|
|
||||||
|
o Fixed a bug that prevented the --resume option from working on
|
||||||
|
Windows. A symptom of the bug was an error message that looks like
|
||||||
|
..\utils.cc(996): CreateFileMapping(), file 'testresume', length 103,
|
||||||
|
mflags 000
|
||||||
|
00006: The parameter is incorrect.
|
||||||
|
(87)
|
||||||
|
when running "nmap --resume testresume". Rob Nicholls submitted the
|
||||||
|
fix.
|
||||||
|
|
||||||
o Zenmap uses -PN now instead of -P0. -P0 is still supported but -PN is
|
o Zenmap uses -PN now instead of -P0. -P0 is still supported but -PN is
|
||||||
recommended to avoid confusion with the -PO (protocol ping) option.
|
recommended to avoid confusion with the -PO (protocol ping) option.
|
||||||
jah (jah(a)zadkiel.plus.com) noticed this.
|
jah (jah(a)zadkiel.plus.com) noticed this.
|
||||||
|
|||||||
Reference in New Issue
Block a user