inspector, test: Fix test bug detected by Coverity · nodejs/node@b0db2b9 · GitHub
Skip to content

Commit b0db2b9

Browse files
Eugene Ostroukhovaddaleax
authored andcommitted
inspector, test: Fix test bug detected by Coverity
Error value was not checked. Turns out, uv_ip6_addr was actually called on malformed IP (square brackets should not have been included). PR-URL: #13799 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ebe7bb2 commit b0db2b9

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

test/cctest/test_inspector_socket_server.cc

Lines changed: 6 additions & 4 deletions

0 commit comments

Comments
 (0)