You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: glibc_2.31/unsafe_unlink.c
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ int main()
45
45
chunk1_hdr[1] &= ~1;
46
46
47
47
printf("Now we free chunk1 so that consolidate backward will unlink our fake chunk, overwriting chunk0_ptr.\n");
48
-
printf("You can find the source of the unlink macro at https://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c;h=ef04360b918bceca424482c6db03cc5ec90c3e00;hb=07c18a008c2ed8f5660adba2b778671db159a141#l1344\n\n");
48
+
printf("You can find the source of the unlink_chunk function at https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1ecba1fafc160ca70f81211b23f688df8676e612\n\n");
49
49
free(chunk1_ptr);
50
50
51
51
printf("At this point we can use chunk0_ptr to overwrite itself to point to an arbitrary location.\n");
Copy file name to clipboardexpand all lines: glibc_2.32/unsafe_unlink.c
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ int main()
45
45
chunk1_hdr[1] &= ~1;
46
46
47
47
printf("Now we free chunk1 so that consolidate backward will unlink our fake chunk, overwriting chunk0_ptr.\n");
48
-
printf("You can find the source of the unlink macro at https://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c;h=ef04360b918bceca424482c6db03cc5ec90c3e00;hb=07c18a008c2ed8f5660adba2b778671db159a141#l1344\n\n");
48
+
printf("You can find the source of the unlink_chunk function at https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1ecba1fafc160ca70f81211b23f688df8676e612\n\n");
49
49
free(chunk1_ptr);
50
50
51
51
printf("At this point we can use chunk0_ptr to overwrite itself to point to an arbitrary location.\n");
Copy file name to clipboardexpand all lines: glibc_2.33/unsafe_unlink.c
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ int main()
45
45
chunk1_hdr[1] &= ~1;
46
46
47
47
printf("Now we free chunk1 so that consolidate backward will unlink our fake chunk, overwriting chunk0_ptr.\n");
48
-
printf("You can find the source of the unlink macro at https://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c;h=ef04360b918bceca424482c6db03cc5ec90c3e00;hb=07c18a008c2ed8f5660adba2b778671db159a141#l1344\n\n");
48
+
printf("You can find the source of the unlink_chunk function at https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1ecba1fafc160ca70f81211b23f688df8676e612\n\n");
49
49
free(chunk1_ptr);
50
50
51
51
printf("At this point we can use chunk0_ptr to overwrite itself to point to an arbitrary location.\n");
Copy file name to clipboardexpand all lines: glibc_2.34/unsafe_unlink.c
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ int main()
45
45
chunk1_hdr[1] &= ~1;
46
46
47
47
printf("Now we free chunk1 so that consolidate backward will unlink our fake chunk, overwriting chunk0_ptr.\n");
48
-
printf("You can find the source of the unlink macro at https://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c;h=ef04360b918bceca424482c6db03cc5ec90c3e00;hb=07c18a008c2ed8f5660adba2b778671db159a141#l1344\n\n");
48
+
printf("You can find the source of the unlink_chunk function at https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1ecba1fafc160ca70f81211b23f688df8676e612\n\n");
49
49
free(chunk1_ptr);
50
50
51
51
printf("At this point we can use chunk0_ptr to overwrite itself to point to an arbitrary location.\n");
Copy file name to clipboardexpand all lines: glibc_2.35/unsafe_unlink.c
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ int main()
45
45
chunk1_hdr[1] &= ~1;
46
46
47
47
printf("Now we free chunk1 so that consolidate backward will unlink our fake chunk, overwriting chunk0_ptr.\n");
48
-
printf("You can find the source of the unlink macro at https://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c;h=ef04360b918bceca424482c6db03cc5ec90c3e00;hb=07c18a008c2ed8f5660adba2b778671db159a141#l1344\n\n");
48
+
printf("You can find the source of the unlink_chunk function at https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1ecba1fafc160ca70f81211b23f688df8676e612\n\n");
49
49
free(chunk1_ptr);
50
50
51
51
printf("At this point we can use chunk0_ptr to overwrite itself to point to an arbitrary location.\n");
Copy file name to clipboardexpand all lines: glibc_2.36/unsafe_unlink.c
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ int main()
45
45
chunk1_hdr[1] &= ~1;
46
46
47
47
printf("Now we free chunk1 so that consolidate backward will unlink our fake chunk, overwriting chunk0_ptr.\n");
48
-
printf("You can find the source of the unlink macro at https://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c;h=ef04360b918bceca424482c6db03cc5ec90c3e00;hb=07c18a008c2ed8f5660adba2b778671db159a141#l1344\n\n");
48
+
printf("You can find the source of the unlink_chunk function at https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1ecba1fafc160ca70f81211b23f688df8676e612\n\n");
49
49
free(chunk1_ptr);
50
50
51
51
printf("At this point we can use chunk0_ptr to overwrite itself to point to an arbitrary location.\n");
Copy file name to clipboardexpand all lines: glibc_2.37/unsafe_unlink.c
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ int main()
45
45
chunk1_hdr[1] &= ~1;
46
46
47
47
printf("Now we free chunk1 so that consolidate backward will unlink our fake chunk, overwriting chunk0_ptr.\n");
48
-
printf("You can find the source of the unlink macro at https://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c;h=ef04360b918bceca424482c6db03cc5ec90c3e00;hb=07c18a008c2ed8f5660adba2b778671db159a141#l1344\n\n");
48
+
printf("You can find the source of the unlink_chunk function at https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1ecba1fafc160ca70f81211b23f688df8676e612\n\n");
49
49
free(chunk1_ptr);
50
50
51
51
printf("At this point we can use chunk0_ptr to overwrite itself to point to an arbitrary location.\n");
Copy file name to clipboardexpand all lines: glibc_2.38/unsafe_unlink.c
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ int main()
45
45
chunk1_hdr[1] &= ~1;
46
46
47
47
printf("Now we free chunk1 so that consolidate backward will unlink our fake chunk, overwriting chunk0_ptr.\n");
48
-
printf("You can find the source of the unlink macro at https://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c;h=ef04360b918bceca424482c6db03cc5ec90c3e00;hb=07c18a008c2ed8f5660adba2b778671db159a141#l1344\n\n");
48
+
printf("You can find the source of the unlink_chunk function at https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1ecba1fafc160ca70f81211b23f688df8676e612\n\n");
49
49
free(chunk1_ptr);
50
50
51
51
printf("At this point we can use chunk0_ptr to overwrite itself to point to an arbitrary location.\n");
Copy file name to clipboardexpand all lines: glibc_2.39/unsafe_unlink.c
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ int main()
45
45
chunk1_hdr[1] &= ~1;
46
46
47
47
printf("Now we free chunk1 so that consolidate backward will unlink our fake chunk, overwriting chunk0_ptr.\n");
48
-
printf("You can find the source of the unlink macro at https://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c;h=ef04360b918bceca424482c6db03cc5ec90c3e00;hb=07c18a008c2ed8f5660adba2b778671db159a141#l1344\n\n");
48
+
printf("You can find the source of the unlink_chunk function at https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1ecba1fafc160ca70f81211b23f688df8676e612\n\n");
49
49
free(chunk1_ptr);
50
50
51
51
printf("At this point we can use chunk0_ptr to overwrite itself to point to an arbitrary location.\n");
0 commit comments