mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
212e1ba0d4
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.
8 lines
179 B
CMake
8 lines
179 B
CMake
set(SOURCES
|
|
main.cpp
|
|
ViewWidget.cpp
|
|
)
|
|
|
|
serenity_app(ImageViewer ICON filetype-image)
|
|
target_link_libraries(ImageViewer LibDesktop LibGUI LibGfx LibImageDecoderClient)
|