diff options
| author | Paul Pogonyshev <pogonyshev@gmx.net> | 2009-01-29 19:39:53 +0000 |
|---|---|---|
| committer | Paul Pogonyshev <paulp@src.gnome.org> | 2009-01-29 19:39:53 +0000 |
| commit | 432122fd0e62e0bfc46e49581fc4dceeb11db717 (patch) | |
| tree | c69dae1d95c62e82048325d5816530296db2816e /ChangeLog | |
| parent | 90ca9dac132dc396e0f064ff01556740ca09e2b0 (diff) | |
| download | pygobject-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 'ChangeLog')
| -rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,22 @@ +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. + 2009-01-27 Daniel Elstner <danielk@openismus.com> * codegen/docextract_to_xml.py (escape_text): Do not escape the |
