Skip to content

Close file before return from mono_set_bisect_methods#125966

Open
dovydenkovas wants to merge 1 commit intodotnet:mainfrom
dovydenkovas:mono_set_bisect_methods_close_file
Open

Close file before return from mono_set_bisect_methods#125966
dovydenkovas wants to merge 1 commit intodotnet:mainfrom
dovydenkovas:mono_set_bisect_methods_close_file

Conversation

@dovydenkovas
Copy link
Copy Markdown
Contributor

@dovydenkovas dovydenkovas commented Mar 23, 2026

The mono_set_bisect_methods function opens a file and never closes it.
mono_set_bisect_methods is used by parsing command line arguments. The opened file is specified by the --bisect= option.

Signed-off-by: Aleksandr Dovydenkov asd@altlinux.org.
Found by Linux Verification Center (linuxtesting.org) with SVACE.

The mono_set_bisect_methods function opens a file and never closes it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-VM-meta-mono community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant