[Bug 314675] [NEW] Segfault on access to user data passed to action callback

kriomant kriomant at gmail.com
Wed Jan 7 11:16:00 UTC 2009


Public bug reported:

Ubuntu Intrepid
python-notify-0.1.1-2build1

Trying to access user data passed to notification action callback leads to segfault.
Testcase is attached, it is slightly modified example program.

The reason is that refcount isn't incremented on 'user_data' argument in 'add_action', so it may be
garbage collected between calling 'add_action' and calling action callback.

** Affects: notify-python (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Segfault on access to user data passed to action callback
https://bugs.launchpad.net/bugs/314675
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list