mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-20 20:44:18 +02:00
Fix stack use after return in fuzzer
This commit is contained in:
parent
f8df676572
commit
f8273dec9f
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ LLVMFuzzerInitialize(int *argc, char ***argv) {
|
|||
|
||||
wlr_renderer_init_wl_display(server.renderer, server.wl_display);
|
||||
|
||||
server.bg_color = (float[4]){0, 0, 0, 1};
|
||||
server.bg_color = calloc(4, sizeof(float *));
|
||||
server.output_layout = wlr_output_layout_create();
|
||||
if(!server.output_layout) {
|
||||
wlr_log(WLR_ERROR, "Unable to create output layout");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue