https://bugs.kde.org/show_bug.cgi?id=454975

            Bug ID: 454975
           Summary: Possible to freeze NeoChat temporarily via image
                    rendering
           Product: NeoChat
           Version: unspecified
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: fe...@posteo.de
          Reporter: janbidle...@protonmail.com
                CC: c...@carlschwan.eu
  Target Milestone: ---

Created attachment 149530
  --> https://bugs.kde.org/attachment.cgi?id=149530&action=edit
SVG which freezes neochat

SUMMARY
By abusing the fact that NeoChat tries to render all images on the main thread
(I assume at least) it's possible to temporarily freeze NeoChat completely by
i.e. sending an svg which links to very big images.

STEPS TO REPRODUCE
1. Have someone send an svg which has references to very big (>100MB+) images
in a room
2. Open the room with neochat.

OBSERVED RESULT
NeoChat becomes unresponsive and freezes for a while, while trying to render
the svg.

EXPECTED RESULT
NeoChat should not freeze.

SOFTWARE/OS VERSIONS
Windows: 10 21H1
Linux: Arch Linux 
NeoChat: 22.04
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to