sway/sway
Simon Ser f11c5d562e config/output: fix NULL derefs in store_output_config()
../sway/config/output.c:33:21: runtime error: member access within null pointer of type 'struct sway_output'
    AddressSanitizer:DEADLYSIGNAL
    =================================================================
    ==7856==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000080 (pc 0x63da8558205c bp 0x7ffdc35881a0 sp 0x7ffdc3588160 T0)
    ==7856==The signal is caused by a READ memory access.
    ==7856==Hint: address points to the zero page.
        #0 0x63da8558205c in output_get_identifier ../sway/config/output.c:33
        #1 0x63da855865c3 in store_output_config ../sway/config/output.c:220
        #2 0x63da855d4066 in cmd_output ../sway/commands/output.c:106
        #3 0x63da8547f2e3 in config_command ../sway/commands.c:425
        #4 0x63da8548f3fc in read_config ../sway/config.c:822
        #5 0x63da8548a224 in load_config ../sway/config.c:435
        #6 0x63da8548b065 in load_main_config ../sway/config.c:507
        #7 0x63da854bee8d in main ../sway/main.c:351
        #8 0x77e2ea643ccf  (/usr/lib/libc.so.6+0x25ccf) (BuildId: c0caa0b7709d3369ee575fcd7d7d0b0fc48733af)
        #9 0x77e2ea643d89 in __libc_start_main (/usr/lib/libc.so.6+0x25d89) (BuildId: c0caa0b7709d3369ee575fcd7d7d0b0fc48733af)
        #10 0x63da8547ad64 in _start (/home/simon/src/sway/build/sway/sway+0x372d64) (BuildId: 3fa2e8838c1c32713b40aec6b1e84bbe4db5bde8)

Fixes: 1267e47de9 ("config/output: Refactor handling of tiered configs")
2024-04-13 00:55:28 +02:00
..
commands commands/output/toggle: Use free_output_config 2024-03-28 10:45:20 +01:00
config config/output: fix NULL derefs in store_output_config() 2024-04-13 00:55:28 +02:00
desktop desktop/output: Use apply_output_configs for output mgmt 2024-03-28 10:45:20 +01:00
input input: add Super as alternative for Mod4 2024-04-05 16:40:28 +02:00
tree Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
commands.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
config.c output/config: Remove reset_outputs and co. 2024-03-28 10:45:20 +01:00
criteria.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Fetch input device vendor/product from libinput 2024-03-07 09:53:40 -05:00
ipc-server.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
lock.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
main.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
meson.build container: Don't track outputs 2024-01-18 18:36:54 +03:00
realtime.c realtime: request SCHED_RR using CAP_SYS_NICE 2022-05-18 11:20:17 +02:00
scene_descriptor.c scene_graph: Introduce sway_scene_descriptor 2024-01-18 18:36:54 +03:00
server.c Implement transient seat management 2024-03-18 09:07:21 +01:00
sway-bar.5.scd man: update Pango font description URL 2021-08-04 02:15:04 +02:00
sway-input.5.scd Update sway-input.5.scd 2023-10-05 10:04:32 +02:00
sway-ipc.7.scd sway-ipc(7): Escape backslashes correctly in GET_CONFIG output 2024-03-30 01:16:22 +01:00
sway-output.5.scd man: document that the scale might be adjusted 2024-03-14 23:22:32 +01:00
sway.1.scd man: update maintainer 2021-01-08 09:33:51 +01:00
sway.5.scd input: add Super as alternative for Mod4 2024-04-05 16:40:28 +02:00
sway_text_node.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
swaynag.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
xdg_activation_v1.c xdg-activation: distinguish activation and urgency requests 2024-02-17 00:54:30 -07:00
xdg_decoration.c xdg-shell: chase events update 2023-11-23 19:41:57 +01:00