[Freeciv-Dev] (PR#10095) handle_game_load() can crash
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#10095) handle_game_load() can crash |
From: |
"James Canete" <use_less@xxxxxxxxxxx> |
Date: |
Mon, 13 Sep 2004 21:35:55 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10095 >
in handle_game_load in gui-gtk-2.0/connectdlg.c, a strrchr is done to
find the last '/' in the string current_filename, then the title bar is
changed to the string immediately after that slash. However if there is
no slash, strrchr will return a null, and gtk_window_set_title() will
page fault.
Bug seen in win32, where file paths don't always have slashes.
-James Canete
- [Freeciv-Dev] (PR#10095) handle_game_load() can crash,
James Canete <=
|
|