c++/1921: code segment and stack segment are same for executable.

jasvant.singh@wipro.com jasvant.singh@wipro.com
Fri Feb 9 05:06:00 GMT 2001


>Number:         1921
>Category:       c++
>Synopsis:       code segment and stack segment are same for executable.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 09 05:06:08 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jasvant Singh
>Release:        egcs-2.91.66
>Organization:
>Environment:
Linux tomato 2.2.5-15 #1 SMP Mon Sep 6 18:17:58 IST 1999 i686 unknown
>Description:
gcc compiler generated executable uses same segment for STACK and DATA.
It creates a possibility of overlap of stack with malloc heap.
In our program we suspect this. I could not find any option which
does it. Is there any way of doing it.
>How-To-Repeat:
It is always like that.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list