Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
1076-erts-Fix-erl_child_setup-argument-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1076-erts-Fix-erl_child_setup-argument-check.patch of Package erlang
From 5da99647f8789b3fd3beed5125de77aedf45861e Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Thu, 7 Jan 2021 13:59:13 +0100 Subject: [PATCH] erts: Fix erl_child_setup argument check See ERL-1425 for details. --- erts/emulator/sys/unix/erl_child_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/emulator/sys/unix/erl_child_setup.c b/erts/emulator/sys/unix/erl_child_setup.c index 103eb40288..5e8c943183 100644 --- a/erts/emulator/sys/unix/erl_child_setup.c +++ b/erts/emulator/sys/unix/erl_child_setup.c @@ -422,7 +422,7 @@ main(int argc, char *argv[]) #endif struct sigaction sa; - if (argc < 1 || sscanf(argv[1],"%d",&max_files) != 1) { + if (argc < 2 || sscanf(argv[1],"%d",&max_files) != 1) { ABORT("Invalid arguments to child_setup"); } -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor