OSDN Git Service

Fix for #2929 (NVDA makes Firefox crash on www.audioboo.com). Specifically: for IA2Li...
authorMichael Curran <mick@kulgan.net>
Tue, 29 Jan 2013 19:22:09 +0000 (05:22 +1000)
committerMichael Curran <mick@kulgan.net>
Tue, 29 Jan 2013 19:22:09 +0000 (05:22 +1000)
commit6a6c95a198a8f0178a7380f0aa50265c62e12217
tree7eebd0f453932eb8cd27e338c169a2ce05fbadbe
parentf25228ac05ffb748c892615a422177a140f242a9
Fix for #2929 (NVDA makes Firefox crash on audioboo.com). Specifically: for IA2LiveRegions code in NVDAHelper: when looping through the variant array from AccessibleChildren, just because a variant was marked as VT_DISPATCH, don't assume that pdispVal is not NULL -- check it first. Also made this change in Gecko VBufBackend, though it was the IA2LiveRegions one that always caused the actual crash.
nvdaHelper/remote/ia2LiveRegions.cpp
nvdaHelper/vbufBackends/gecko_ia2/gecko_ia2.cpp