EC-Council
312-50V10 · Question #328
312-50V10 Question #328: Real Exam Question with Answer & Explanation
Sign in or unlock 312-50V10 to reveal the answer and full explanation for question #328. The question stem and answer options stay visible for context.
Question
A developer for a company is tasked with creating a program that will allow customers to update their billing and shipping information. The billing address field used is limited to 50 characters. What pseudo code would the developer use to avoid a buffer overflow attack on the billing address field?
Options
- Aif (billingAddress = 50) {update field} else exit
- Bif (billingAddress != 50) {update field} else exit
- Cif (billingAddress >= 50) {update field} else exit
- Dif (billingAddress <= 50) {update field} else exit
Unlock 312-50V10 to see the answer
You've previewed enough free 312-50V10 questions. Unlock 312-50V10 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.