From 9690617ae3855ab9f58e5bce0f55b4842b9832e5 Mon Sep 17 00:00:00 2001 From: Trung Lê <8@tle.id.au> Date: Sun, 22 Feb 2026 11:29:18 +1100 Subject: Prepare 1.0.0: fix memory leaks, use-after-free bugs, and code quality issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Version 6.0.0 → 1.0.0, C standard gnu17 → gnu23 - Fix desktop file path (was referencing parent directory) - global_shortcuts.c: fix systematic GVariant/GDBusProxy leaks, guint64-to-gchar* type mismatch, buffer overflow risk, missing malloc NULL checks, debug artifacts - gsr-window.c: fix notification timeout use-after-free, menu object leak in finalize, localtime NULL check, extract active_mode_to_string helper - gsr-stream-page.c, gsr-record-page.c, gsr-replay-page.c: fix timer source leak in finalize (use-after-free if destroyed while timer running) - gsr-shortcut-accel-dialog.c: fix Pango markup injection via shortcut titles - gsr-info.c: fix pclose UB, replace fprintf with g_warning - gsr-config.c: include errno in fopen failure warning - Remove unused include, stale Phase 5 comments --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index c891547..15f285b 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('gpu-screen-recorder-adwaita', 'c', - version : '6.0.0', - default_options : ['warning_level=2', 'c_std=gnu17'], + version : '1.0.0', + default_options : ['warning_level=2', 'c_std=gnu23'], ) add_project_arguments('-Wshadow', language : 'c') @@ -57,7 +57,7 @@ executable('gpu-screen-recorder-adw', ) install_data( - files('../com.dec05eba.gpu_screen_recorder.desktop'), + files('com.dec05eba.gpu_screen_recorder.desktop'), install_dir : join_paths(get_option('prefix'), get_option('datadir'), 'applications'), ) install_subdir('icons/hicolor', install_dir : join_paths(get_option('prefix'), get_option('datadir'), 'icons')) -- cgit v1.2.3