Skillset can help you prepare! Sign up for your free Skillset account and take the first steps towards your certification.
What of the following techniques should be used to help minimize buffer overflow vulnerabilities? (check all that apply)
Use a static analyzer to scan source code
Use functions like strncpy, strncat
Force compiler to fail on warnings
Use extra memory when allocating buffers
Allocate all buffers in global memory
Put buffers at the end of the local variable declarations
Allocating buffers in global memory will not prevent overflow and overflow attacks, nor will locating buffers at a particular place in the local variable frame. Allocating extra memory at the end of a buffer only prevents common bugs like off-by-one errors and is sloppy programming; it won't prevent eventual overflow. Static source analysis, using counted functions, and eliminating compiler warnings will all help eliminate buffer overflow bugs.
Study thousands of practice questions that organized by skills and ranked by difficulty.
Create a tailored training plan based on the knowledge you already possess.
Know when you’re ready for the high-stakes exam. Have the confidence that you will pass on your first attempt.