Buffer Overflow
In which memory segments are the variables in the following codelocated?
int i = 0;
void func(char *str)
{
char *ptr = malloc(sizeof(int));char buf[1024];
int j;
}
Expert Answer
An answer will be send to you shortly. . . . .
Buffer Overflow
In which memory segments are the variables in the following codelocated?
int i = 0;
void func(char *str)
{
char *ptr = malloc(sizeof(int));char buf[1024];
int j;
}
An answer will be send to you shortly. . . . .