New GPC beta: gpc-971001_(re)

Wed, 8 Oct 1997 23:57:23 +0200 (MEST)


According to Maurice Lombardi:
> 
> There is another error in this initialization part (which presumably has
> nothing to do with the crash of the compiler).
> The variable ppJunk is New'ed, used to fill CmdLine, which is a pointer
> of pChar type, Then Dispose'd. So the memory to which CmdLine points is
> reputted into the heap, and can be overwrited by subsequent instructions
> in the main program.

This is an error in `system.pas', not in GPC, so I can relax.  :-)

(* But it's easy to fix:  Just remove the line `Dispose ( ppJunk )'. *)

    Peter

 Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [971005]
 maintainer GNU Pascal [971001] - http://home.pages.de/~gnu-pascal/ [971005]


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es