EC-Council
312-92 · Question #88
312-92 Question #88: Real Exam Question with Answer & Explanation
Sign in or unlock 312-92 to reveal the answer and full explanation for question #88. The question stem and answer options stay visible for context.
Question
Simon is going through some of Heather's code and notices an issue. What issue did Simon find in the following code? void f4(void * arg, size_t len) { char *buff = new char[100]; C *ptr = new C; memcpy(buff, arg, len); ptr->vf(); return; }
Options
- AFunction pointer clobbering
- BNull-termination
- CData pointer modification
- DVirtual pointer smashing
Unlock 312-92 to see the answer
You've previewed enough free 312-92 questions. Unlock 312-92 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.