1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/distribution
Sebastiaan van Stijn d13997b4ba
gosec: G601: Implicit memory aliasing in for loop
plugin/v2/plugin.go:141:50: G601: Implicit memory aliasing in for loop. (gosec)
                    updateSettingsEnv(&p.PluginObj.Settings.Env, &s)
                                                                 ^
    libcontainerd/remote/client.go:572:13: G601: Implicit memory aliasing in for loop. (gosec)
                cpDesc = &m
                         ^
    distribution/push_v2.go:400:34: G601: Implicit memory aliasing in for loop. (gosec)
                (metadata.CheckV2MetadataHMAC(&mountCandidate, pd.hmacKey) ||
                                              ^
    builder/dockerfile/builder.go:261:84: G601: Implicit memory aliasing in for loop. (gosec)
            currentCommandIndex = printCommand(b.Stdout, currentCommandIndex, totalCommands, &meta)
                                                                                             ^
    builder/dockerfile/builder.go:278:46: G601: Implicit memory aliasing in for loop. (gosec)
            if err := initializeStage(dispatchRequest, &stage); err != nil {
                                                       ^
    daemon/container.go:283:40: G601: Implicit memory aliasing in for loop. (gosec)
            if err := parser.ValidateMountConfig(&cfg); err != nil {
                                                 ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-10 13:03:29 +02:00
..
fixtures/validate_manifest
metadata bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
utils Add canonical import comment 2018-02-05 16:51:57 -05:00
xfer distribution/xfer: use "main" instead of "master" for progress channel 2020-07-14 10:48:30 +02:00
config.go Store image manifests in containerd content store 2020-11-05 20:02:18 +00:00
errors.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
errors_test.go distribution: fix errors tests 2021-02-23 09:49:49 +01:00
manifest.go Store image manifests in containerd content store 2020-11-05 20:02:18 +00:00
manifest_test.go Store image manifests in containerd content store 2020-11-05 20:02:18 +00:00
pull.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
pull_v2.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
pull_v2_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
pull_v2_unix.go Improve 'no matching manifest' error 2019-01-15 18:24:15 +01:00
pull_v2_windows.go Use hcsshim osversion package for Windows versions 2019-10-22 02:53:00 +02:00
push.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
push_v2.go gosec: G601: Implicit memory aliasing in for loop 2021-06-10 13:03:29 +02:00
push_v2_test.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
registry.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
registry_unit_test.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00