From: ss10@irz.inf.tu-dresden.de (Sebastian Schoenberg) Subject: **** Protection **** Date: 16 Jun 1993 09:53:28 GMT
hello,
in which way will linux allocate local memory with malloc ?
if the returned pointer is a near ponter to a space in local
data-segment, so I can't protect the block.
For instance,
char *c,*ptr = (char *)malloc (2048);
if I write now this
c = p+2049;
*c = 123;
will a protection-violation follows or not ?
Greetings, Sebastian
E-Mail prefered.
===========================================
INTERNET: ss10@mail.inf.tu-dresden.de