diff --git a/CHANGELOG b/CHANGELOG index 42ceb9830..780a89bd2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -49,6 +49,9 @@ o [Windows] Add support for the new loopback behavior in Npcap 0.9983. This Adapter to be installed, which was a source of problems for some users. [Daniel Miller] +o [NSE][GH#2010] Oracle TNS parser was incorrectly unmarshalling DALC byte + arrays [nnposter] + o [NSE] Virtual host probing list, vhosts-full.lst, was missing numerous entries present in vhosts-default.lst [nnposter] diff --git a/nselib/tns.lua b/nselib/tns.lua index 37d484ca3..2d4e80f5f 100644 --- a/nselib/tns.lua +++ b/nselib/tns.lua @@ -1258,35 +1258,25 @@ Marshaller = { -- @param pos Position in the string at which the element begins -- @return table containing the last position read and the value parsed unmarshalKvpComponent = function( data, pos ) - local value_len - local has_multiple_chunks = false - local value = {} - -- read the 32-bit total length of the value - value_len, pos = string.unpack("