plymouth/src
Ferdinand Bachmann dcf23c0adc label-freetype: fix UAF in set_font_for_control() with hidpi (scale_factor 2)
On hidpi screens, label-freetype will trigger a use-after-free in
set_font_for_control() via the call in update_scale_factor_from_pixel_buffer().

That call passes label->font as the font parameter to set_font_for_control().
set_font_for_control() then calls strdup() on its font argument, and
frees label->font. In this case this causes font to point into freed
memory, causing a read use-after-free in the following strstr() and
strrchr() calls.

Fix the issue by only using the freshly strdup()'d new_font variable
after freeing label->font.
2025-12-01 15:05:48 +00:00
..
client Include config.h automatically 2023-12-04 14:04:01 -05:00
libply ply-utils: Create parent directory before binding concrete socket 2025-07-22 09:41:36 +02:00
libply-splash-core Fix keymap and capslock icon on displays on second GPU 2025-07-14 11:21:48 +02:00
libply-splash-graphics ply-keymap-icon: Fix falling back to label-plugin when there is no pre-rendered text 2025-07-14 10:20:16 +02:00
plugins label-freetype: fix UAF in set_font_for_control() with hidpi (scale_factor 2) 2025-12-01 15:05:48 +00:00
upstart-bridge Include config.h automatically 2023-12-04 14:04:01 -05:00
main.c Add UseSimpledrmNoLuks config file keyword 2025-07-14 10:56:44 +02:00
meson.build meson: Fix PLYMOUTH_LOCALE_DIRECTORY and PLYMOUTH_DRM_ESCROW_DIRECTORY defines 2023-08-15 12:33:11 +02:00
ply-boot-protocol.h main: Add "reload" command 2022-10-15 18:02:01 +00:00
ply-boot-server.c Include config.h automatically 2023-12-04 14:04:01 -05:00
ply-boot-server.h main: Add "reload" command 2022-10-15 18:02:01 +00:00
ply-splash-core.pc.in ply-splash-core: Add xkbcommon dep to pkgconfig file 2024-04-24 14:44:07 -04:00
ply-splash-graphics.pc.in ply-splash-graphics: ensure link in config file 2012-03-17 02:38:00 -04:00
plymouthd-fd-escrow.c src: Run through uncrustify 2022-07-29 09:16:44 -04:00
plymouthd.conf [daemon] Ship default configuration files 2010-03-23 18:00:50 -04:00
plymouthd.defaults plymouthd.defaults: Bump default DeviceTimeout to 8 seconds 2019-09-08 15:44:35 +02:00