@@ -31,11 +31,11 @@ func glogTest() {
3131 glog .Warningln (text ) // $ logger=text
3232
3333 // components corresponding to the format specifier "%T" are not considered vulnerable
34- glog .Errorf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text
35- glog .Exitf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text
36- glog .Fatalf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text
37- glog .Infof ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text
38- glog .Warningf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text
34+ glog .Errorf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text type-logger=v
35+ glog .Exitf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text type-logger=v
36+ glog .Fatalf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text type-logger=v
37+ glog .Infof ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text type-logger=v
38+ glog .Warningf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text type-logger=v
3939
4040 klog .Error (text ) // $ logger=text
4141 klog .ErrorDepth (0 , text ) // $ logger=text
@@ -59,9 +59,9 @@ func glogTest() {
5959 klog .Warningln (text ) // $ logger=text
6060
6161 // components corresponding to the format specifier "%T" are not considered vulnerable
62- klog .Errorf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text
63- klog .Exitf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text
64- klog .Fatalf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text
65- klog .Infof ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text
66- klog .Warningf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text
62+ klog .Errorf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text type-logger=v
63+ klog .Exitf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text type-logger=v
64+ klog .Fatalf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text type-logger=v
65+ klog .Infof ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text type-logger=v
66+ klog .Warningf ("%s: found type %T" , text , v ) // $ logger="%s: found type %T" logger=text type-logger=v
6767}
0 commit comments