1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Fix endianness in string pack format

This commit is contained in:
dmiller
2018-09-06 01:07:23 +00:00
parent 0b9bcba19b
commit 9ba660d330

View File

@@ -1570,7 +1570,7 @@ NFS = {
if ( comm.version == 3 ) then
local opaque_data = 0
data = file_handle .. string.pack("I8 I8 I4", cookie, opaque_data, count)
data = file_handle .. string.pack(">I8 I8 I4", cookie, opaque_data, count)
else
data = file_handle .. string.pack(">I4 I4", cookie, count)
end