You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we want to be especially diligent, we could go through all the formatting verbs and determine how to handle each one. From a cursory glance, I think the relevant ones are %T, and maybe %s and %q. For these two, we could e.g. do some kind of analysis of the appropriate String() function for the corresponding argument.
The text was updated successfully, but these errors were encountered:
Currently, the following can cause a report:
There is actually no issue in the above example: the type of a sensitive value is not sensitive.
We can likely borrow some logic from the
printf
analyzer.If we want to be especially diligent, we could go through all the formatting verbs and determine how to handle each one. From a cursory glance, I think the relevant ones are
%T
, and maybe%s
and%q
. For these two, we could e.g. do some kind of analysis of the appropriateString()
function for the corresponding argument.The text was updated successfully, but these errors were encountered: