PrepAway - Latest Free Exam Questions & Answers

What type of problem or error will result from the following statement?

What type of problem or error will result from the following statement?
void f2b(void * arg, size_t len)
{
char buffer[100];
long val = …;
long *ptr = …;
extern void (*f)();
memcpy(buff, arg, len);
*ptr = val;
f();
return;
}

PrepAway - Latest Free Exam Questions & Answers

A.
Pointer subterfuge

B.
Heap smashing

C.
Virtual pointer smashing

D.
Sign error

Explanation:


Leave a Reply