mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-08 22:45:58 +01:00
8589ae19de
A few pedantic changes and unused variables (1-4), and genuine bugs (5, 6). The reports with the corresponding files and lines numbers are as follows. 1. backend/libinput/tablet_pad.c@31,44,57 "Allocator sizeof operand mismatch" "Result of 'calloc' is converted to a pointer of type 'unsigned int', which is incompatible with sizeof operand type 'int'" 2. types/tablet_v2/wlr_tablet_v2_pad.c@371 "Allocator sizeof operand mismatch" "Result of 'calloc' is converted to a pointer of type 'uint32_t', which is incompatible with sizeof operand type 'int'" 3. types/wlr_cursor.c@335 "Dead initialization" "Value stored to 'dx'/'dy' during its initialization is never read" 4. rootston/xdg_shell.c@510 "Dead initialization" "Value stored to 'desktop' during its initialization is never read" 5. types/tablet_v2/wlr_tablet_v2_pad.c@475 "Dereference of null pointer" "Access to field 'strips' results in a dereference of a null pointer (loaded from field 'current_client')" The boolean logic was incorrect (c.f. the check in the following function). 6. examples/idle.c@163,174,182 "Uninitialized argument value" "1st function call argument is an uninitialized value" If close_timeout != 0, but simulate_activity_timeout >= close_timeout, the program would segfault at pthread_cancel(t1). |
||
---|---|---|
.. | ||
data_device | ||
seat | ||
tablet_v2 | ||
xdg_shell | ||
xdg_shell_v6 | ||
meson.build | ||
wlr_box.c | ||
wlr_buffer.c | ||
wlr_compositor.c | ||
wlr_cursor.c | ||
wlr_export_dmabuf_v1.c | ||
wlr_gamma_control.c | ||
wlr_gamma_control_v1.c | ||
wlr_idle.c | ||
wlr_idle_inhibit_v1.c | ||
wlr_input_device.c | ||
wlr_input_inhibitor.c | ||
wlr_keyboard.c | ||
wlr_layer_shell.c | ||
wlr_linux_dmabuf_v1.c | ||
wlr_list.c | ||
wlr_matrix.c | ||
wlr_output.c | ||
wlr_output_damage.c | ||
wlr_output_layout.c | ||
wlr_pointer.c | ||
wlr_primary_selection.c | ||
wlr_region.c | ||
wlr_screencopy_v1.c | ||
wlr_screenshooter.c | ||
wlr_server_decoration.c | ||
wlr_surface.c | ||
wlr_tablet_pad.c | ||
wlr_tablet_tool.c | ||
wlr_touch.c | ||
wlr_virtual_keyboard_v1.c | ||
wlr_wl_shell.c | ||
wlr_xcursor_manager.c | ||
wlr_xdg_decoration_v1.c | ||
wlr_xdg_output.c |