mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1717575
- Check given attributes for null before iterating. r=morgan, a=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D119789
This commit is contained in:
parent
43d49c8c90
commit
f27f579b00
@ -636,6 +636,10 @@ AtkRole getRoleCB(AtkObject* aAtkObj) {
|
||||
}
|
||||
|
||||
static AtkAttributeSet* ConvertToAtkAttributeSet(AccAttributes* aAttributes) {
|
||||
if (!aAttributes) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
AtkAttributeSet* objAttributeSet = nullptr;
|
||||
|
||||
for (auto iter : *aAttributes) {
|
||||
|
Loading…
Reference in New Issue
Block a user