Skip to content

Commit 31bc7ed

Browse files
authored
Update Answer.md
1 parent 45f16c9 commit 31bc7ed

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lab5/Answer.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,16 @@ READ of size 4 at 0x7ffcbde04efc thread T0
213213
## ASan Out-of-bound Write bypass Redzone
214214
### Source code
215215
```
216+
#include <stdio.h>
217+
#include <stdlib.h>
216218
219+
int main() {
220+
int a[10];
221+
int *ptr = &a[0];
222+
ptr += 11;
223+
*ptr = 10;
224+
return 0;
225+
}
217226
```
218227
### Why
219228

0 commit comments

Comments
 (0)