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 files41
notkmhn/cve-2022-21449-tls-pocRevision fa239eebae2b
- ↑..Parent directory
- copy_file_range_linux.go
- errno_unix.go
- errno_windows.go
- fcntl_js.go
- fcntl_libc.go
- fcntl_syscall.go
- fd.go
- fd_fsync_darwin.go
- fd_fsync_posix.go
- fd_fsync_windows.go
- fd_io_plan9.go
- fd_mutex.go
- fd_opendir_darwin.go
- fd_plan9.go
- fd_poll_js.go
- fd_poll_runtime.go
- fd_posix.go
- fd_unix.go
- fd_windows.go
- fd_writev_darwin.go
- fd_writev_illumos.go
- fd_writev_unix.go
- hook_cloexec.go
- hook_unix.go
- hook_windows.go
- iovec_illumos.go
- iovec_unix.go
- sendfile_bsd.go
- sendfile_linux.go
- sendfile_solaris.go
- sendfile_windows.go
- sock_cloexec.go
- sockopt.go
- sockopt_linux.go
- sockopt_unix.go
- sockopt_windows.go
- sockoptip.go
- splice_linux.go
- strconv.go
- sys_cloexec.go
- writev.go
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
go/src/internal/poll/fd_fsync_posix.go
Go · 497 bytes// Copyright 2018 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.
//go:build aix || dragonfly || freebsd || (js && wasm) || linux || netbsd || openbsd || solaris
package poll
import "syscall"
// Fsync wraps syscall.Fsync.
func (fd *FD) Fsync() error {
if err := fd.incref(); err != nil {
return err
}
defer fd.decref()
return ignoringEINTR(func() error {
return syscall.Fsync(fd.Sysfd)
})
}