Programming

profileAdejoke
5.3GuidedPractice.docx

5.3 Guided PracticeBuffer Overflow Conditions

In this guided practice, we will create a program that declares an array of 10 integers, initializes the array, sets the element location at 100, and prints the values for array 1 – 11 and prints the 11th value twice.

Hint:

Graphical user interface, text, application  Description automatically generated

References

Instructions

Follow these instructions to complete your assignment:

1. Enter the code (from the Code tab) into your compiler. 

2. Compile your code and run.

3. Test the code

Text  Description automatically generated with medium confidence

 

4. Answer the following critical thinking questions. Save your answers in a Word document.

·

·

· Find and discuss an example of a buffer overflow exploit. (Minimum word count 300 with references).

· How could you verify that an overflow condition exists?

· Upload your .c Source file and your.docx Word file into the Dropbox for grading.

· Code

Graphical user interface, application  Description automatically generated

image1.png

image2.png

image3.png