Exploit databaseDownload repository ZIP
GH-8958357e96f9d8f8c98383150c404283
notkmhn/cve-2022-21449-tls-poc
Sources for CVE-2022-21449
14 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files62
notkmhn/cve-2022-21449-tls-pocRevision fa239eebae2b
- ↑..Parent directory
- decls2/
- importdecl0/
- importdecl1/
- issue25008/
- blank.go
- builtins0.go
- builtins1.go
- chans.go
- compliterals.go
- const0.go
- const1.go
- constdecl.go
- conversions0.go
- conversions1.go
- cycles0.go
- cycles1.go
- cycles2.go
- cycles3.go
- cycles4.go
- cycles5.go
- decls0.go
- decls1.go
- decls3.go
- decls4.go
- decls5.go
- errors.go
- expr0.go
- expr1.go
- expr2.go
- expr3.go
- funcinference.go
- go1_12.go
- go1_13.go
- go1_16.go
- go1_8.go
- gotos.go
- importC.go
- init0.go
- init1.go
- init2.go
- issues0.go
- issues1.go
- labels.go
- linalg.go
- literals.go
- main0.go
- main1.go
- map0.go
- map1.go
- methodsets.go
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}}
}