[Freeciv-Dev] (PR#6244) advdiplomacy valgrind warning
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
==27224== Conditional jump or move depends on uninitialised value(s)
==27224== at 0x403D16CF: _IO_vfprintf_internal (in /lib/libc-2.3.2.so)
==27224== by 0x403F01E9: _IO_vsnprintf (in /lib/libc-2.3.2.so)
==27224== by 0x804C376: my_vsnprintf (support.c:327)
==27224== by 0x807E091: vnotify_conn_ex (plrhand.c:1052)
==27224== by 0x807E253: notify_player_ex (plrhand.c:1116)
==27224== by 0x80C1CA3: notify (advdiplomacy.c:93)
==27224== by 0x80C33EE: ai_diplomacy_actions (advdiplomacy.c:928)
==27224== by 0x804DC9A: begin_turn (srv_main.c:480)
==27224== by 0x804F29E: main_loop (srv_main.c:1436)
==27224== by 0x804FA8E: srv_loop (srv_main.c:1803)
==27224== by 0x804F512: srv_main (srv_main.c:1590)
==27224== by 0x804A20F: main (civserver.c:154)
==27224== by 0x403A04EC: __libc_start_main (in /lib/libc-2.3.2.so)
==27224== by 0x8049C60: (within /tmp/jshort/freeciv/server/civserver)
==27224==
==27224== Use of uninitialised value of size 4
==27224== at 0x403D16CF: _IO_vfprintf_internal (in /lib/libc-2.3.2.so)
==27224== by 0x403F01E9: _IO_vsnprintf (in /lib/libc-2.3.2.so)
==27224== by 0x804C376: my_vsnprintf (support.c:327)
==27224== by 0x807E091: vnotify_conn_ex (plrhand.c:1052)
==27224== by 0x807E253: notify_player_ex (plrhand.c:1116)
==27224== by 0x80C1CA3: notify (advdiplomacy.c:93)
==27224== by 0x80C33EE: ai_diplomacy_actions (advdiplomacy.c:928)
==27224== by 0x804DC9A: begin_turn (srv_main.c:480)
==27224== by 0x804F29E: main_loop (srv_main.c:1436)
==27224== by 0x804FA8E: srv_loop (srv_main.c:1803)
==27224== by 0x804F512: srv_main (srv_main.c:1590)
==27224== by 0x804A20F: main (civserver.c:154)
==27224== by 0x403A04EC: __libc_start_main (in /lib/libc-2.3.2.so)
==27224== by 0x8049C60: (within /tmp/jshort/freeciv/server/civserver)
Not sure what causes this, but it's advdiplomacy.c:928 both times.
jason
- [Freeciv-Dev] (PR#6244) advdiplomacy valgrind warning,
Jason Short <=
|
|