https://github.com/cee-studio/tdelete
The testing to demonstrate a tdelete bug
https://github.com/cee-studio/tdelete
Last synced: about 1 month ago
JSON representation
The testing to demonstrate a tdelete bug
- Host: GitHub
- URL: https://github.com/cee-studio/tdelete
- Owner: cee-studio
- Created: 2020-09-27T13:17:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-08T21:06:55.000Z (almost 6 years ago)
- Last Synced: 2025-11-19T16:02:55.434Z (8 months ago)
- Language: C
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to test tdelete's returning a dangling address bug ?
Run the command:
```
make
```
The console output
```
Testing glibc's implementation of tdelete for a returning dangling address bug
allocate 0x7fd9f70b0324
allocate 0x7fd9f70b0388
allocate 0x7fd9f70b03ec
allocate 0x7fd9f70b0450
free 0x7fd9f70b0324
tdelete returns 0x7fd9f70b0388
free 0x7fd9f70b0388
tdelete returns 0x7fd9f70b03ec
free 0x7fd9f70b03ec
tdelete returns 0x7fd9f70b03ec <- dangling pointer
free 0x7fd9f70b0450
tdelete returns 0x7fd9f70b0450 <- dangling pointer
Testing musl libc's implementation of tdelete for a returning dangling address bug
allocate 0x7f2ecf539324
allocate 0x7f2ecf539388
allocate 0x7f2ecf5393ec
allocate 0x7f2ecf539450
free 0x7f2ecf539324
tdelete returns 0x7f2ecf539388
free 0x7f2ecf539388
tdelete returns 0x7f2ecf5393ec
free 0x7f2ecf5393ec
tdelete returns 0x7f2ecf5393ec <- dangling pointer
free 0x7f2ecf539450
tdelete returns 0x7f2ecf539450 <- dangling pointer
```