Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:qzhao:branches:SUSE:SLE-15-SP4:Update
plymouth
0003-fix_null_deref.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-fix_null_deref.patch of Package plymouth
diff -Nura plymouth-0.9.5+git20200921+20778f2/src/libply-splash-graphics/ply-label.c plymouth-0.9.5+git20200921+20778f2_new/src/libply-splash-graphics/ply-label.c --- plymouth-0.9.5+git20200921+20778f2/src/libply-splash-graphics/ply-label.c 2020-10-05 23:11:23.011964608 +0800 +++ plymouth-0.9.5+git20200921+20778f2_new/src/libply-splash-graphics/ply-label.c 2020-10-05 23:17:39.139340680 +0800 @@ -130,6 +130,15 @@ label->control = label->plugin_interface->create_control (); + if (label->control == NULL) { + ply_save_errno (); + label->plugin_interface = NULL; + ply_close_module (label->module_handle); + label->module_handle = NULL; + ply_restore_errno (); + return false; + } + if (label->text != NULL) label->plugin_interface->set_text_for_control (label->control, label->text);
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