Summary: | [GTK] Segfaults in enchant_broker_free_dict() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Cédric Bellegarde <cedric.bellegarde> | ||||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bugs-noreply, cgarcia, mcatanzaro | ||||||
Priority: | P2 | ||||||||
Version: | Other | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=184003 | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 184233 | ||||||||
Attachments: |
|
Are you able to reproduce this one in eolie, or was it random? My guess is that there aren't any dictionaries in the system and m_enchantDictionaries contains a single element that is nullptr, because enchant_broker_request_dict() can return NULL and we ar enot checking it. Created attachment 336977 [details]
Patch
There are dictionnaries on the system but enchant_broker_request_dict() may have return null. Comment on attachment 336977 [details]
Patch
Good catch. This one had stumped me.
Committed r230197: <https://trac.webkit.org/changeset/230197> |
Created attachment 336035 [details] Backtrace Fedora 28 / WebKitGTK 2.20