Skip to content

Commit

Permalink
Release 1.4.4
Browse files Browse the repository at this point in the history
- Increment dependency versions
- Fix Issue 21
  • Loading branch information
Cagebreak Signing Key 3 committed Nov 18, 2020
1 parent a863107 commit def6d66
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 12 deletions.
7 changes: 7 additions & 0 deletions Bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,10 @@ adequately.
Cagebreak up to and including release 1.4.2 does not handle damaging adequately,
when scanning out views.

### Issue 21

* github issue number: N/A
* Fixed: 1.4.4

Cagebreak up to and including release 1.4.3 sometimes had null pointer
dereferences on view destroy.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ ninja -C build

For every release after 1.0.5, hashes will be provided.

1.4.4

* sha 256: c6e08e19feb17f768e136cf02f5692ef121ff289763dc60ef8678103803d3307
* sha 512: aebf27fa9c24f93dfd0b7c96536c253e2ea603d6746c40e8de2163e06367bc57ac4e22d6c07dd1e0963cce5b18b460d373e15b5c12a5a42ae6b70787971960c9

1.4.3

* sha 256: 5e29cbaf7c0c5ca74f71a5605bb3d6e302e051798401fee9a79419720b8d8e95
Expand Down
8 changes: 8 additions & 0 deletions fuzz/fuzz-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@

#include "fuzz-lib.h"

struct cg_server server;
struct wlr_xdg_shell *xdg_shell;

struct wlr_xwayland *xwayland;
#if CG_HAS_XWAYLAND
struct wlr_xcursor_manager *xcursor_manager;
#endif

static bool
drop_permissions(void) {
if(getuid() != geteuid() || getgid() != getegid()) {
Expand Down
8 changes: 4 additions & 4 deletions fuzz/fuzz-lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
#define WAIT_ANY -1
#endif

struct cg_server server;
struct wlr_xdg_shell *xdg_shell;
extern struct cg_server server;
extern struct wlr_xdg_shell *xdg_shell;

struct wlr_xwayland *xwayland;
extern struct wlr_xwayland *xwayland;
#if CG_HAS_XWAYLAND
struct wlr_xcursor_manager *xcursor_manager;
extern struct wlr_xcursor_manager *xcursor_manager;
#endif

void
Expand Down
2 changes: 1 addition & 1 deletion man/cagebreak-config.5.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% CAGEBREAK-CONFIG(1) Version 1.4.3 | Cagebreak Manual
% CAGEBREAK-CONFIG(1) Version 1.4.4 | Cagebreak Manual

# NAME

Expand Down
2 changes: 1 addition & 1 deletion man/cagebreak.1.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% CAGEBREAK(1) Version 1.4.3 | Cagebreak Manual
% CAGEBREAK(1) Version 1.4.4 | Cagebreak Manual

# NAME

Expand Down
10 changes: 5 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('cagebreak', 'c',
version: '1.4.3',
version: '1.4.4',
license: 'MIT',
default_options: [
'c_std=c11',
Expand Down Expand Up @@ -53,7 +53,7 @@ if is_freebsd
)
endif

wlroots = dependency('wlroots', version: '>= 0.11.0')
wlroots = dependency('wlroots', version: '>= 0.12.0')
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
wayland_server = dependency('wayland-server')
wayland_cursor = dependency('wayland-cursor')
Expand Down Expand Up @@ -195,13 +195,13 @@ reproducible_build_versions = {
'wayland_server': '1.18.0',
'wayland_client': '1.18.0',
'wayland_cursor': '1.18.0',
'wlroots': '0.11.0',
'wlroots': '0.12.0',
'xkbcommon': '1.0.1',
'fontconfig': '2.13.91',
'pixman': '0.40.0',
'pango': '1.46.2',
'pango': '1.48.0',
'cairo': '1.17.3',
'pangocairo': '1.46.2',
'pangocairo': '1.48.0',
'math': '-1'
}

Expand Down
Binary file added signatures/1.4.3.sig
Binary file not shown.
Binary file modified signatures/cagebreak.sig
Binary file not shown.
2 changes: 1 addition & 1 deletion xdg_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ handle_xdg_shell_surface_unmap(struct wl_listener *listener, void *_data) {
wl_container_of(listener, xdg_shell_view, unmap);
struct cg_view *view = &xdg_shell_view->view;

wl_list_remove(&xdg_shell_view->new_popup.link);
wl_list_remove(&xdg_shell_view->commit.link);

view_unmap(view);
Expand Down Expand Up @@ -316,7 +317,6 @@ handle_xdg_shell_surface_destroy(struct wl_listener *listener, void *_data) {
wl_list_remove(&xdg_shell_view->unmap.link);
wl_list_remove(&xdg_shell_view->destroy.link);
wl_list_remove(&xdg_shell_view->request_fullscreen.link);
wl_list_remove(&xdg_shell_view->new_popup.link);
xdg_shell_view->xdg_surface = NULL;

view_destroy(view);
Expand Down

0 comments on commit def6d66

Please sign in to comment.