quic: fixes undefined handle in QuicStream kInspect · nodejs/node@bd477a3 · GitHub
Skip to content

Commit bd477a3

Browse files
martenrichteraduh95
authored andcommitted
quic: fixes undefined handle in QuicStream kInspect
If the #handle is undefined and not QuicStream, while kInspect is called `DataViewPrototypeGetByteLength` will throw. Signed-off-by: Marten Richter <marten.richter@freenet.de> PR-URL: #64170 Backport-PR-URL: #64675 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Tim Perry <pimterry@gmail.com>
1 parent 3dd04b3 commit bd477a3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/internal/quic/state.js

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)