Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0358-erl_bif_binary.c-Ensure-initialization.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0358-erl_bif_binary.c-Ensure-initialization.patch of Package erlang
From 16a6a87b0b51b65a3c807061552404252f761fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Thu, 28 Jan 2021 10:02:33 +0100 Subject: [PATCH 2/4] erl_bif_binary.c: Ensure initialization --- erts/emulator/beam/erl_bif_binary.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erts/emulator/beam/erl_bif_binary.c b/erts/emulator/beam/erl_bif_binary.c index a1a728f09e..10111da507 100644 --- a/erts/emulator/beam/erl_bif_binary.c +++ b/erts/emulator/beam/erl_bif_binary.c @@ -1322,6 +1322,9 @@ static int parse_match_opts_list(Eterm l, Eterm bin, Uint *posp, Uint *endp) return 0; } else { badarg: + /* Ensure intialization. */ + *posp = 0; + *endp = 0; return 1; } } -- 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