mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
ImageViewer: Sandbox image decoding using the ImageDecoder service :^)
Instead of parsing untrusted and potentially malicious image files in the ImageViewer GUI process, take advantage of the ImageDecoder service that we already have on the system to sandbox the decode. This prevents bugs in our image decoding libraries from being used as an exploitation vector when viewing files in ImageViewer.
This commit is contained in:
parent
fa0e23009a
commit
212e1ba0d4
3 changed files with 26 additions and 17 deletions
|
@ -4,4 +4,4 @@ set(SOURCES
|
|||
)
|
||||
|
||||
serenity_app(ImageViewer ICON filetype-image)
|
||||
target_link_libraries(ImageViewer LibDesktop LibGUI LibGfx)
|
||||
target_link_libraries(ImageViewer LibDesktop LibGUI LibGfx LibImageDecoderClient)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue