1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 06:46:38 +02:00
Sebastien Helleu 9a160509d7 core: fix random crash when closing a buffer
The problem happened because we used a pointer to a
"struct t_gui_buffer_visited" for the switch to another buffer,
when the buffer is closed. This is executed in all windows displaying
the buffer, but on each switch to buffer, the visited buffers are
updated and therefore the address can change. The pointer becomes
invalid, and WeeChat still uses it on next windows for the buffer
switch.

It happened rarely because the visited buffer is freed and allocated
immediately after, so the address is often the same in memory.

Thanks to silverd for the tests on OS X to track the problem.
2013-12-01 08:37:22 +01:00
2013-01-01 13:12:49 +01:00
2007-07-02 12:25:13 +00:00
2013-01-01 13:12:49 +01:00
2013-01-01 13:12:49 +01:00
2013-10-06 08:58:14 +02:00

= WeeChat Readme
Sébastien Helleu <flashcode@flashtux.org>


WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
environment for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.


== Features

* chat client with multi-protocols/servers connection
* small, fast and very light
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl, Guile)
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
* developed from scratch
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other)
* free software, released under GPLv3

== Copyright

Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>

This file is part of WeeChat, the extensible chat client.

WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

WeeChat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with WeeChat.  If not, see <http://www.gnu.org/licenses/>.
Languages
C 79.4%
C++ 17.8%
Python 1.7%
CMake 0.8%
Shell 0.2%
Other 0.1%