Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.1:Rings:1-MinimalX
mono-core
profiler-aot-parse_args-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File profiler-aot-parse_args-fix.patch of Package mono-core
diff -uprN mono-5.10.0.160.old/mono/profiler/aot.c mono-5.10.0.160/mono/profiler/aot.c --- mono-5.10.0.160.old/mono/profiler/aot.c 2018-03-07 10:46:36.000000000 +0300 +++ mono-5.10.0.160/mono/profiler/aot.c 2018-03-12 02:25:51.857765220 +0300 @@ -108,7 +108,8 @@ parse_args (const char *desc) const char *p; gboolean in_quotes = FALSE; char quote_char = '\0'; - char *buffer = malloc (strlen (desc)); + char buffer[strlen (desc)]; + memset (buffer, 0, strlen (desc)); int buffer_pos = 0; for (p = desc; *p; p++){ @@ -154,7 +155,6 @@ parse_args (const char *desc) parse_arg (buffer); } - g_free (buffer); } void
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