Definder - what does the word mean?

What is buffer overflow?

Euphemism for an immediate need to defecate or urinate. Also synonymous for having already done so in public.

"I'm about to have a buffer overflow. brb!"

👍31 👎23


buffer overflow - video


Buffer overflow - what is it?

Computer term: When code in the stack-buffer overflows into another application's process. Can cause applications to crash or execute malicious code.

This client is vulnerable to buffer overflow exploits.

👍35 👎17


What does "buffer overflow" mean?

A type of exploitation in programming in which a set buffer is created in a program and a user has the advantage of overflowing that buffers set limit to allow the user to execute arbitrary code by overwriting a memory block, held for the buffer.

#include

int main(int argc, char **argv) {
buffer300; //set buffer to store 300 bytes
if(argc<=2) {
printf("usage: %s ", argv0);
}else{
memset(buffer, argv1); //add 2nd argument (the data) into the buffer
printf("%s",buffer); //print data that resides in the buffer
}

if more than 300 bytes are put into the buffer, it will cause a segmentation fault causing a buffer overflow.

👍69 👎19