Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] (PR#4708) meta-ticket: uninitialized data over the network
Home

[Freeciv-Dev] (PR#4708) meta-ticket: uninitialized data over the network

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#4708) meta-ticket: uninitialized data over the network
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Jul 2003 22:14:31 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Lots of code sends unitialized data over the network.  This is bad
mainly because it makes debugging harder.  If the data is actually used
at the other end it will give inconsistent results making it harder to
trace.  And the act of sending it generates a warning when run under
valgrind, concealing other more serious warnings.

Some of this has already been fixed.  But at this point there's a lot of
obvious code that has to be changed to fix it - after which a full audit
should be done to find the hidden cases.

jason



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#4708) meta-ticket: uninitialized data over the network, Jason Short <=