mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 07:09:11 +02:00
- Add -bs (bad security) option - Fix Issue 57 (SPDX spelling error #39) - Fix Issue 59 (meson install settings) - Fix Issue 55 (npd) - Fix Issue 56 (npd) - Fix Issue 58 (#40 config) - Improve release procedure - Add miniscule test suite - Adjust Cagebreak to wlroots 0.16.2 - New GPG Keys
31 lines
630 B
C
31 lines
630 B
C
// Copyright 2020 - 2023, project-repo and the cagebreak contributors
|
|
// SPDX-License-Identifier: MIT
|
|
// This file is used by the fuzzer in order to prevent executing shell commands.
|
|
|
|
#define _GNU_SOURCE
|
|
#include "../output.h"
|
|
#include <cairo.h>
|
|
#include <cairo/cairo.h>
|
|
#include <stdlib.h>
|
|
#include <wlr/render/wlr_renderer.h>
|
|
|
|
int
|
|
fork(void) {
|
|
return 1;
|
|
}
|
|
|
|
void
|
|
wlr_texture_get_size(struct wlr_texture *texture, int *width, int *height) {
|
|
if(width != NULL) {
|
|
*width = 0;
|
|
}
|
|
|
|
if(height != NULL) {
|
|
*height = 0;
|
|
}
|
|
}
|
|
|
|
cairo_surface_t *
|
|
cairo_image_surface_create(cairo_format_t fmt, int width, int height) {
|
|
return NULL;
|
|
}
|