Affected by GO-2022-0450
and 6 other vulnerabilities
GO-2022-0450: Shell command injection in gitea in code.gitea.io/gitea
GO-2022-0612: Stored Cross-site Scripting in gitea in code.gitea.io/gitea
GO-2022-1065: Gitea vulnerable to Argument Injection in code.gitea.io/gitea
GO-2023-1894: code.gitea.io/gitea Open Redirect vulnerability
GO-2023-1999: Gitea erroneous repo clones in code.gitea.io/gitea
GO-2024-2769: Gitea allowed assignment of private issues in code.gitea.io/gitea
GO-2024-3056: Gitea Cross-site Scripting Vulnerability in code.gitea.io/gitea
package
Version:
v1.16.5
Opens a new window with list of versions in this module.
Published: Mar 24, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 13
Opens a new window with list of known importers.
Documentation
¶
func DumpCPUProfileForUsername(pprofDataPath, username string) (func(), error)
DumpCPUProfileForUsername dumps a CPU profile at pprofDataPath as cpuprofile_<username>_<temporary id>
it returns the stop function which stops, writes and closes the CPU profile file
func DumpMemProfileForUsername(pprofDataPath, username string) error
DumpMemProfileForUsername dumps a memory profile at pprofDataPath as memprofile_<username>_<temporary id>
Source Files
¶
Click to show internal directories.
Click to hide internal directories.