aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/buffer-overflow')
-rwxr-xr-xexamples/buffer-overflow/buffer-overflowbin8520 -> 0 bytes
-rw-r--r--examples/buffer-overflow/buffer-overflow.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/examples/buffer-overflow/buffer-overflow b/examples/buffer-overflow/buffer-overflow
deleted file mode 100755
index c518559..0000000
--- a/examples/buffer-overflow/buffer-overflow
+++ /dev/null
Binary files differ
diff --git a/examples/buffer-overflow/buffer-overflow.c b/examples/buffer-overflow/buffer-overflow.c
index 96f0ee8..4fcce8c 100644
--- a/examples/buffer-overflow/buffer-overflow.c
+++ b/examples/buffer-overflow/buffer-overflow.c
@@ -6,7 +6,7 @@ int main(void)
char buf[16];
int ok = 0;
- printf("Type admin password: \n");
+ printf("Type admin password: ");
gets(buf);
if (strcmp(buf, "pass123")) printf("\nWrong password!\n");