commit 67fc3a219450a9146625e30682a84055e6a5c4db
parent 6c1e7539a235addf73417b64698fa8f948b1b9a0
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date: Sat, 21 Jan 2023 18:07:19 +0200
Fix typo
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/content/posts/buffer-overflow.md b/content/posts/buffer-overflow.md
@@ -46,7 +46,7 @@ To compile this code, we need a C compiler.
GCC (GNU Compiler Collection) is a fantastic C compiler and what I will use in this post.
<!-- , it is the standard C compiler for Unix-like systems like Linux and macOS. -->
-To compile the code and generate an executable file called `vuln.o`, you can run the following command:
+To compile the code and generate an executable file called `vuln`, you can run the following command:
``` shell
gcc -o vuln vuln.c
@@ -80,4 +80,4 @@ To prevent buffer overflow attacks, it is important to carefully design and impl
4. Use secure coding practices, such as avoiding the use of hard-coded passwords, sanitizing user input to prevent SQL injection attacks, and using encryption to protect sensitive data.
-By following these best practices, you can help protect your code from buffer overflow attacks and keep your computer systems secure.
-\ No newline at end of file
+By following these best practices, you can help protect your code from buffer overflow attacks and keep your computer systems secure.