summaryrefslogtreecommitdiffstats
path: root/codegen/h2def.py
diff options
context:
space:
mode:
authorPaul Pogonyshev <pogonyshev@gmx.net>2009-01-29 19:39:53 +0000
committerPaul Pogonyshev <paulp@src.gnome.org>2009-01-29 19:39:53 +0000
commit432122fd0e62e0bfc46e49581fc4dceeb11db717 (patch)
treec69dae1d95c62e82048325d5816530296db2816e /codegen/h2def.py
parent90ca9dac132dc396e0f064ff01556740ca09e2b0 (diff)
downloadpygobject-432122fd0e62e0bfc46e49581fc4dceeb11db717.tar.gz
pygobject-432122fd0e62e0bfc46e49581fc4dceeb11db717.tar.xz
pygobject-432122fd0e62e0bfc46e49581fc4dceeb11db717.zip
Bug 567792 – gio.InputStream.read_async can cause memory corruption
2009-01-29 Paul Pogonyshev <pogonyshev@gmx.net> Bug 567792 – gio.InputStream.read_async can cause memory corruption * gio/gio.override (py_decref_callback): Remove (unused now). (pygio_notify_allocate_buffer, pygio_notify_attach_to_result) (pygio_notify_get_attached): New functions. (async_result_callback_marshal): Attach to the result object if asked and then don't free self. Fix reference leak (spotted by Gustavo). * gio/ginputstream.override (async_result_callback_marshal_read): Remove. Use new attachment functionality in async_result_callback_marshal() instead. (_wrap_g_input_stream_read_async): Use the new functions (also those mentioned in the cleanup log below). (_wrap_g_input_stream_read_finish): Use the new functions. svn path=/trunk/; revision=999
Diffstat (limited to 'codegen/h2def.py')
0 files changed, 0 insertions, 0 deletions