We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0221bef commit bbefd31Copy full SHA for bbefd31
file_struct/baby-file-struct.c
@@ -21,7 +21,7 @@ int main(int argc, char **argv) {
21
printf("shellcode: %p\n", shellcode);
22
printf("shellcode2: %p\n", shellcode2);
23
printf("challenge.buf: %p\n", challenge.buf);
24
- printf("challenge.fp: %p\n", challenge.fp);
+ printf("challenge.fp: %p\n", &challenge.fp);
25
26
// open /etc/passwd
27
challenge.fp = fopen("/etc/passwd", "r");
0 commit comments