plymouth/plymouth-3.3.2-script-lib-sprite-fix-crash.patch

11 lines
472 B
Diff
Raw Permalink Normal View History

--- plymouth-3.3.2/src/plugins/splash/script/script-lib-sprite.c.orig 2017-12-04 15:49:29.134059736 +0100
+++ plymouth-3.3.2/src/plugins/splash/script/script-lib-sprite.c 2017-12-04 15:41:55.759372872 +0100
@@ -450,6 +450,7 @@
clip_area.height = height;
node = ply_list_get_first_node (data->sprite_list);
+ if (!node) return;
sprite = ply_list_node_get_data (node);
/* Check If the first sprite should be rendered opaque */