Skip to content

Commit b1bf2a2

Browse files
committed
Make comment clearer
1 parent d8d0033 commit b1bf2a2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

go/ql/lib/semmle/go/Concepts.qll

+3-4
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,9 @@ module RegexpReplaceFunction {
356356
*/
357357
class LoggerCall extends DataFlow::Node instanceof LoggerCall::Range {
358358
/**
359-
* Gets a node that is a part of the logged message.
360-
*
361-
* Exclude components corresponding to the format specifier "%T" as this
362-
* prints the type of the argument, which is not considered vulnerable.
359+
* Gets a node whose value is a part of the logged message. Note that
360+
* components corresponding to the format specifier "%T" are excluded as
361+
* their type is logged rather than their value.
363362
*/
364363
DataFlow::Node getAMessageComponent() {
365364
result = super.getAMessageComponent() and

0 commit comments

Comments
 (0)