We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc1942 commit de590ceCopy full SHA for de590ce
lib/thin/sqlnet/packet.js
@@ -296,7 +296,9 @@ function RedirectPacket(packet) {
296
*/
297
function MarkerPacket(isLargeSDU) {
298
this.len = constants.NSPMKDAT + 1; /* Packet length */
299
- this.buf = Buffer.allocUnsafe(constants.NSPMKDAT + 1); /* Packet Buffer */
+
300
+ // Packet Buffer
301
+ this.buf = Buffer.allocUnsafe(constants.NSPMKDAT + 1).fill(0);
302
303
if (isLargeSDU) {
304
this.buf.writeUInt32BE(this.len, constants.NSPHDLEN);
0 commit comments