Files
developer-roadmap/roadmaps/c/content/buffer-overflow@1KoVKffvv8bhaoq6LHqUC.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

896 B

Buffer Overflow

A buffer overflow occurs when a program writes more data into a fixed-size buffer, like an array, than it can hold, overwriting adjacent memory. This can corrupt other variables, crash the program, or in more severe cases be exploited to execute malicious code, making it a well-known security vulnerability. Using safer alternatives to functions like strcpy, such as strncpy or snprintf with explicit size limits, helps prevent it.

Visit the following resources to learn more: