1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00
serenity/Kernel/Graphics
Brian Gianforcaro 98990dce53 Kernel: Fix info leak from padding in GenericFramebufferDevice::ioctl
In FB_IOCTL_GET_PROPERTIES we were not initializing the padding of the
struct, leading to the potential of an kernel information leak if the
caller looked back at it's contents.

Lets just be extra paranoid and zero initialize all these structs
in we store on the stack while handling ioctls(..).
2021-12-29 03:41:32 -08:00
..
Bochs Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
Console Kernel: Propagate overflow errors from Memory::page_round_up 2021-12-28 23:08:50 +01:00
Intel Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
VirtIOGPU Kernel: Propagate overflow errors from Memory::page_round_up 2021-12-28 23:08:50 +01:00
Definitions.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
FramebufferDevice.cpp Kernel: Propagate overflow errors from Memory::page_round_up 2021-12-28 23:08:50 +01:00
FramebufferDevice.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
GenericFramebufferDevice.cpp Kernel: Fix info leak from padding in GenericFramebufferDevice::ioctl 2021-12-29 03:41:32 -08:00
GenericFramebufferDevice.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
GenericGraphicsAdapter.h Kernel: Remove unused String.h includes 2021-12-11 13:15:26 -08:00
GraphicsManagement.cpp Kernel/Graphics: Rename GraphicsDevice => GenericGraphicsAdapter 2021-10-27 07:57:44 +03:00
GraphicsManagement.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
VGACompatibleAdapter.cpp Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
VGACompatibleAdapter.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00