gEDA-dev: Stack corruption PCB bug in hid_parse_actions????
Peter Clifton
pcjc2 at cam.ac.uk
Wed Sep 6 13:04:34 EDT 2006
On Wed, 2006-09-06 at 17:48 +0100, Peter Clifton wrote:
> Looks like a nasty stack corruption, as whilst argv[0] moves its
> location by 2 bytes (and IIRC, its always this ammount), argv[0] still
> evaluates to the same string.. as if a portion of the stack has been
> shifted. (Cant have shifted all of it, as the function return appears
to
> be ok) (Evaluation of argv[0] as string not shown in output below)
>
> And program output - from an instrumented version of PCB:
Since it might be useful to make sense of the output below, attached is
the patch which adds the instrumentation I used to produce the output
originally in my email.
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcb.execfile_bug.patch
Type: text/x-patch
Size: 2450 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20060906/43adbc9e/pcb.execfile_bug.bin
More information about the geda-dev
mailing list