Complete.Org: Mailing Lists: Archives: freeciv-ai: January 2003:
[freeciv-ai] (PR#2593) Re: [Freeciv-Dev] (PR#2665) invalid read in civse
Home

[freeciv-ai] (PR#2593) Re: [Freeciv-Dev] (PR#2665) invalid read in civse

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] (PR#2593) Re: [Freeciv-Dev] (PR#2665) invalid read in civserver
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Tue, 7 Jan 2003 07:31:03 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Sun, Dec 29, 2002 at 12:22:27AM -0800, Jason Short via RT wrote:
> This bug could cause completely unpredictable behavior - reads and
> writes in the completely wrong location anywhere in aidiplomat.c and any
> other files that don't include config.h.  The fix is to #include
> <config.h> from EVERY .c file.  And this requirement should be added to
> the documentation.

For further testing of this issue use the attached script. Current
output:

$ ../scripts/find_missing_config_h.sh
./amiga/amigaclient.c
./amiga/amigaserver.c
./amiga/gettext.c
./amiga/vsnprintf.c
./client/gui-sdl/colors.c
./client/gui-sdl/gui_dither.c
./client/gui-sdl/gui_iconv.c
./client/gui-sdl/gui_zoom.c
./client/gui-sdl/unistring.c

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "We've all heard that a million monkeys banging on a million typewriters
  will eventually reproduce the entire works of Shakespeare.
  Now, thanks to the Internet, we know this is not true."

Attachment: find_missing_config_h.sh
Description: find_missing_config_h.sh


[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] (PR#2593) Re: [Freeciv-Dev] (PR#2665) invalid read in civserver, Raimar Falke via RT <=