rclone: 3 new defects (rclone-0003 CWE-407, rclone-0004/0005 CWE-312), rclone-0001/0002 PASS
This commit is contained in:
parent
294ab0a792
commit
3a755ecf01
8 changed files with 499 additions and 0 deletions
10
defects/rclone-0004/patch/jottacloud_secret_log.patch
Normal file
10
defects/rclone-0004/patch/jottacloud_secret_log.patch
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- a/backend/jottacloud/jottacloud.go
|
||||
+++ b/backend/jottacloud/jottacloud.go
|
||||
@@ -282,7 +282,7 @@ func (f *Fs) Config(ctx context.Context, name string, m configmap.Mapper, config
|
||||
return nil, fmt.Errorf("failed to register device: %w", err)
|
||||
}
|
||||
m.Set(configClientID, deviceRegistration.ClientID)
|
||||
m.Set(configClientSecret, obscure.MustObscure(deviceRegistration.ClientSecret))
|
||||
- fs.Debugf(nil, "Got clientID %q and clientSecret %q", deviceRegistration.ClientID, deviceRegistration.ClientSecret)
|
||||
+ fs.Debugf(nil, "Got clientID %q (clientSecret suppressed)", deviceRegistration.ClientID)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue