Tags

Daily Weblog 8/29/17

Today, I worked more on the CPA course. I learned about buffer overflow - one challenge required me to overflow the buffer with a specific sequence, while not causing a segmentation fault with an overly long input. A buffer overflow occurs when a variable is written with a value that exceeds the variable size, causing data after what is assigned to the variable to be written to instead - it can be used to inject command sequences and data into places without permissions, although a well-written program will generally dump the command and throw a segmentation fault error instead of allowing an overflow.

Comments