| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
LGTM. The CI is green. |
Sorry, something went wrong.
|
LGTM The ASSERT_EQ a few lines up should probably be a CHECK_EQ. The buffer is filled with whatever is on the stack if uv_get_process_title() fails. It can't really happen under normal circumstances but better safe than sorry. |
Sorry, something went wrong.
|
@bnoordhuis I'm now setting target title to a default value if the call fails. |
Sorry, something went wrong.
There was a problem hiding this comment.
Can you use snprintf()? Most static analysis tools will complain about strcpy() (even if it's harmless here.)
Sorry, something went wrong.
There was a problem hiding this comment.
Done. Thanks!
Sorry, something went wrong.
|
LGTM with a comment. |
Sorry, something went wrong.
|
New CI https://ci.nodejs.org/job/node-test-pull-request/3015/ is green. |
Sorry, something went wrong.
PR-URL: #7324 Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com> Reviewed-By: ofrobots - Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
PR-URL: #7324 Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com> Reviewed-By: ofrobots - Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
This touches inspector
Description of change
Fix a bug detected by Coverty.
CC: @ofrobots