adamyi / v6dns

A DNS Server which lets IPv4-prioritized devices to use IPv6 first, or lets IPv6-prioritized devices to use IPv4 first.
MIT License
21 stars 3 forks source link

Crash VError : Trying to seek beyond buffer #5

Open 4-FLOSS-Free-Libre-Open-Source-Software opened 4 years ago

4-FLOSS-Free-Libre-Open-Source-Software commented 4 years ago
|v6dns                        | VError: Requested 170 position is beyond length 32: Trying to seek beyond buffer
|v6dns                        |     at module.exports.BufferCursor.seek (/usr/local/lib/node_modules/v6dns/node_modules/buffercursor/buffercursor.js:83:11)
|v6dns                        |     at module.exports.BufferCursor.toString (/usr/local/lib/node_modules/v6dns/node_modules/buffercursor/buffercursor.js:149:8)
|v6dns                        |     at nameUnpack (/usr/local/lib/node_modules/v6dns/node_modules/native-dns-packet/packet.js:87:17)
|v6dns                        |     at parseQuestion (/usr/local/lib/node_modules/v6dns/node_modules/native-dns-packet/packet.js:525:14)
|v6dns                        |     at Function.Packet.parse (/usr/local/lib/node_modules/v6dns/node_modules/native-dns-packet/packet.js:704:17)
|v6dns                        |     at Function.Packet.parse (/usr/local/lib/node_modules/v6dns/node_modules/native-dns/lib/packet.js:48:15)
|v6dns                        |     at UDPServer.Server.handleMessage (/usr/local/lib/node_modules/v6dns/node_modules/native-dns/lib/server.js:60:22)
|v6dns                        |     at Socket.<anonymous> (/usr/local/lib/node_modules/v6dns/node_modules/native-dns/lib/server.js:80:10)
|v6dns                        |     at Socket.emit (events.js:198:13)
|v6dns                        |     at UDP.onMessage [as onmessage] (dgram.js:628:8)
|v6dns                        | VError: Requested 170 position is beyond length 44: Trying to seek beyond buffer
|v6dns                        |     at module.exports.BufferCursor.seek (/usr/local/lib/node_modules/v6dns/node_modules/buffercursor/buffercursor.js:83:11)
|v6dns                        |     at module.exports.BufferCursor.toString (/usr/local/lib/node_modules/v6dns/node_modules/buffercursor/buffercursor.js:149:8)
|v6dns                        |     at nameUnpack (/usr/local/lib/node_modules/v6dns/node_modules/native-dns-packet/packet.js:87:17)
|v6dns                        |     at parseQuestion (/usr/local/lib/node_modules/v6dns/node_modules/native-dns-packet/packet.js:525:14)
|v6dns                        |     at Function.Packet.parse (/usr/local/lib/node_modules/v6dns/node_modules/native-dns-packet/packet.js:704:17)
|v6dns                        |     at Function.Packet.parse (/usr/local/lib/node_modules/v6dns/node_modules/native-dns/lib/packet.js:48:15)
|v6dns                        |     at UDPServer.Server.handleMessage (/usr/local/lib/node_modules/v6dns/node_modules/native-dns/lib/server.js:60:22)
|v6dns                        |     at Socket.<anonymous> (/usr/local/lib/node_modules/v6dns/node_modules/native-dns/lib/server.js:80:10)
|v6dns                        |     at Socket.emit (events.js:198:13)
|v6dns                        |     at UDP.onMessage [as onmessage] (dgram.js:628:8)

node -v
v10.21.0