[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Binutils 2.18 + GCC 4.2.3



Keith Scroggins wrote:
Here is the 'problem' in the output:

argv[129] = "viewport.o"
argv[130] = "B@//?"
argv[131] = "Nu//"
argv[132] = "widget.o"

I replaced g++ for this output.  I'll dig into the makefile more....

So either the arguments are not correctly encoded by the calling program, either they are not correctly decoded by the startup code in the called program !

I note the following :
argv[131] = "Nu//"

"Nu" is the ASCII equivalent for the "rts" assembler instruction.
So it seems there is a bad mix between code and data !
Maybe a buffer overflow ?

--
Vincent Rivière