http2: remove unsupported %.* specifier#35694
http2: remove unsupported %.* specifier#35694mmomtchev wants to merge 1 commit intonodejs:masterfrom
Conversation
The debug sprintf doesn't support %.* specifiers Fixes: nodejs#35688
|
Review requested:
|
Codecov Report
@@ Coverage Diff @@
## master #35694 +/- ##
=======================================
Coverage 96.40% 96.40%
=======================================
Files 220 220
Lines 73681 73681
=======================================
+ Hits 71031 71032 +1
+ Misses 2650 2649 -1
Continue to review full report at Codecov.
|
|
Are we sure this is safe? According to the documentation (emphasis mine):
|
|
Non-blocking naive questions: Can we/should we add a test? A lint rule? An assertion or other check/confirmation of NULL-termination? |
I would not add a test for specific debugging statements.
That would be great, but it might be quite a bit of effort.
I don’t see any issue with adding |
|
Landed in c5b9b5b...7083425 |
The debug sprintf doesn't support %.* specifiers Fixes: #35688 PR-URL: #35694 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ricky Zhou <[email protected]> Reviewed-By: David Carlier <[email protected]>
The debug sprintf doesn't support %.* specifiers Fixes: #35688 PR-URL: #35694 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ricky Zhou <[email protected]> Reviewed-By: David Carlier <[email protected]>
The debug sprintf doesn't support %.* specifiers Fixes: #35688 PR-URL: #35694 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ricky Zhou <[email protected]> Reviewed-By: David Carlier <[email protected]>
The debug sprintf doesn't support %.* specifiers Fixes: #35688 PR-URL: #35694 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ricky Zhou <[email protected]> Reviewed-By: David Carlier <[email protected]>
The debug sprintf doesn't support %.* specifiers Fixes: #35688 PR-URL: #35694 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ricky Zhou <[email protected]> Reviewed-By: David Carlier <[email protected]>
The debug sprintf doesn't support %.* specifiers
Fixes: #35688
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes