mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Avoid another unsigned vs signed integer overflow in packing
This commit is contained in:
@@ -786,7 +786,7 @@ function RmiDataStream:writeMethodCall(out,objNum, hash, op, arguments)
|
|||||||
-- Send Call:
|
-- Send Call:
|
||||||
dos:writeByte(0x50)
|
dos:writeByte(0x50)
|
||||||
-- Send Magic 0xaced
|
-- Send Magic 0xaced
|
||||||
dos:writeShort(0xACED)
|
dos:writeUnsignedShort(0xACED)
|
||||||
-- Send version 0x0005
|
-- Send version 0x0005
|
||||||
dos:writeShort(0x0005)
|
dos:writeShort(0x0005)
|
||||||
-- Send TC_BLOKDATA
|
-- Send TC_BLOKDATA
|
||||||
|
|||||||
Reference in New Issue
Block a user