Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:ruby
mruby
CVE-2022-1286.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2022-1286.patch of Package mruby
diff -Nur old/src/class.c new/src/class.c --- old/src/class.c 2023-02-15 19:48:06.910773088 +0100 +++ new/src/class.c 2023-02-15 19:48:22.539076311 +0100 @@ -2363,7 +2363,10 @@ MRB_CLASS_ORIGIN(c); h = c->mt; - if (h && mt_del(mrb, h, mid)) return; + if (h && mt_del(mrb, h, mid)) { + mrb_mc_clear_by_class(mrb, c); + return; + } mrb_name_error(mrb, mid, "method '%n' not defined in %C", mid, c); }
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