native-dns-packet
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "native-dns-packet", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": "Timothy J Fontaine <tjfontaine@gmail.com> (http://atxconsulting.com)", | ||
"description": "Raw DNS Packet Parsing and Writing", | ||
"keywords": [ "dns", "parsing" ], | ||
"keywords": [ | ||
"dns", | ||
"parsing" | ||
], | ||
"homepage": "http://github.com/tjfontaine/native-dns-packet", | ||
@@ -8,0 +11,0 @@ "bugs": { |
@@ -48,6 +48,6 @@ // Copyright 2011 Timothy J Fontaine <tjfontaine@gmail.com> | ||
}; | ||
this.question = undefined; | ||
this.answer = undefined; | ||
this.authority = undefined; | ||
this.additional = undefined; | ||
this.question = []; | ||
this.answer = []; | ||
this.authority = []; | ||
this.additional = []; | ||
this.edns_options = []; | ||
@@ -546,6 +546,7 @@ this.payload = undefined; | ||
function parseTxt(val, msg, rdata) { | ||
val.data = ''; | ||
val.data = []; | ||
var end = msg.tell() + rdata.len; | ||
while (msg.tell() != end) { | ||
val.data += msg.toString('ascii', msg.readUInt8()); | ||
var len = msg.readUInt8(); | ||
val.data.push(msg.toString('ascii', len)); | ||
} | ||
@@ -552,0 +553,0 @@ return PARSE_RESOURCE_DONE; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 4 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
47942
35
1252
15