Exploit database

GH-8958357e96f9d8f8c98383150c404283

notkmhn/cve-2022-21449-tls-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2022-21449

14 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files62Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

go/src/go/types/testdata/check/compliterals.go

Go · 442 bytes
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Composite literals with parameterized types

package comp_literals

type myStruct struct {
	f int
}

type slice[E any] []E

func struct_literals[S struct{f int}|myStruct]() {
	_ = S{}
	_ = S{0}
	_ = S{f: 0}

        _ = slice[int]{1, 2, 3}
        _ = slice[S]{{}, {0}, {f:0}}
}