shell.readShortcutLink
crashes when parsing Slack shortcut
#45166
Labels
33-x-y
bug 🪲
component/shell
has-repro-gist
Issue can be reproduced with code at https://gist.github.com/
platform/windows
Preflight Checklist
Electron Version
33.3.1
What operating system(s) are you using?
Windows
Operating System Version
Windows 11 version 26100
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
Shortcut should be parsed/read correctly, and we should be able to handle the error if this fails.
Actual Behavior
An exception is thrown:
Testcase Gist URL
https://gist.github.com/dlon/f580673b27ba00d1bedfa25d2f2208c1
Additional Information
This seems related to #44752, but it affects other shortcuts.
Here is a partial backtrace:
I've reproduced the above on v33.3.1, as well as the latest beta.
The text was updated successfully, but these errors were encountered: