Bug 457909 - UAF crash with kinetic scrolling
Summary: UAF crash with kinetic scrolling
Status: ASSIGNED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Alvin Wong
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-15 11:18 UTC by Alvin Wong
Modified: 2022-08-15 11:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
ASAN log (17.94 KB, text/plain)
2022-08-15 11:18 UTC, Alvin Wong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvin Wong 2022-08-15 11:18:20 UTC
Created attachment 151335 [details]
ASAN log

SUMMARY
Kinetic scroller may cause a crash when the cursor moves into and out of the scrollbars at the wrong time.


STEPS TO REPRODUCE
1. Enable kinetic scrolling with left click
2. Have a recent document with an autosave backup
3. Open this recent document from the recent document list on the welcome widget
4. Quickly move the cursor onto the scrollbar before the autosave restore dialog appears
5. When the autosave restore dialog appears, click on cancel

OBSERVED RESULT
Crash.

EXPECTED RESULT
Nothing weird should happen.

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Reproduced on ASAN build of 716923c