[13704] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: gcc bounds

daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Mon Jul 31 15:18:21 1995

From: ghudson@MIT.EDU
Date: Mon, 31 Jul 1995 15:18:18 -0400
To: Pete Wyckoff <petew@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: "[13703] in Athena Bugs"

printf() under Solaris is probably abusing the stack by writing data
at some point below the stack pointer.  0xef7b8c38 looks like a stack
address to me.

I'm not sure what can be done about this.  I suppose the
bounds-checking library could include an implementation of printf()
which does a sprintf() into an array under Solaris, I suppose; this
wouldn't be totally correct, but it would be better than the current
situation.  Maybe I'll do that.

home help back first fref pref prev next nref lref last post