---
title: "buffer overflow"
type: concept
related: [Buffer Overflow]
source: https://www.jemoka.com/posts/kbhbuffer_overflow/
confidence: high
status: active
---

buffer overflow happens when operations like stcpy runs beyond the edge of the allocated buffer. We need to find and fix buffer overflows, which causes people who use o
buffer overflow horror stories AOL messanger identifying buffer overflows Think about whether or not what you are going to do will cause buffer overflows. There are stuff which you shouldn&rsquo;t do:
strcpy: which keeps copying strcat: gets: it keeps taking input forever and forever https://www.acm.org/code-of-ethics &ldquo;Design and implement systems that are robustly and usably secure.&rdquo;
valgrind valgrind is a good tool to check whether or not something will buffer overflow.
