Re: freeze break request: fix pyatspi.getState().getStates()
- From: Frederic Peters <fpeters gnome org>
- To: Mike Gorse <mgorse novell com>
- Cc: release-team gnome org, tomeu vizoso collabora co uk
- Subject: Re: freeze break request: fix pyatspi.getState().getStates()
- Date: Mon, 4 Apr 2011 09:28:09 +0530
Mike Gorse wrote:
> AT-SPI has a method to return the list of states contained in a
> state set as an array, but this sometimes fails with pyatspi on
> 64-bit architectures because of what I think is a bug in pygi. In
> any case, pygi is copying an argument from an array (an int in this
> case) and later assuming that it has a valid long value, so it might
> read eight bytes where only four were initialized. I've filed the
> issue as BGO#646581. I would like to apply the attached patch to
> pyatspi for the time being; it works around the issue by not making
> the problematic C call.
Mmmm, I'd certainly prefer to have the pygobject patch applied; adding
Tomeu for comment.
Frederic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]