[Freeciv-Dev] (PR#40486) S2_2: game load -> buffer overflow

2008-09-14 Thread Egor Vyscrebentsov
http://bugs.freeciv.org/Ticket/Display.html?id=40486 > Good daytime! S2_2, r15205. Loading game crashes civserver with buffer overflow. Reason: too small buffer in player_load_vision() Attached patch works for me, though I guess we need smth like fc_s[n]printf(). PS. I'm having troubles with

Re: [Freeciv-Dev] (PR#40486) S2_2: game load -> buffer overflow

2008-09-14 Thread Egor Vyscrebentsov
http://bugs.freeciv.org/Ticket/Display.html?id=40486 > On Sun, 14 Sep 2008 03:46:25 -0700 Egor Vyscrebentsov wrote: > S2_2, r15205. > Loading game crashes civserver with buffer overflow. > > Reason: too small buffer in player_load_vision() Looks like a copy-paste from map_load() [where this bu