Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddressSanitizer: attempting double-free #16

Closed
tianmai1 opened this issue Jul 13, 2023 · 1 comment
Closed

AddressSanitizer: attempting double-free #16

tianmai1 opened this issue Jul 13, 2023 · 1 comment
Assignees
Labels
bug Something isn't working priority-low
Milestone

Comments

@tianmai1
Copy link

./codedoc poc188
version 3.7

==102826==ERROR: AddressSanitizer: attempting double-free on 0x6080000014a0 in thread T0:
    #0 0x7f8e1b7577a8 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xde7a8)
    #1 0x5567506d6cae in scan_file /home/tianmai/workspace/codedoc(复件)/codedoc.c:3668
    #2 0x5567506ccb8e in main /home/tianmai/workspace/codedoc(复件)/codedoc.c:531
    #3 0x7f8e1ae7fc86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)
    #4 0x5567506cb5e9 in _start (/home/tianmai/workspace/codedoc(复件)/codedoc+0xe5e9)

0x6080000014a0 is located 0 bytes inside of 88-byte region [0x6080000014a0,0x6080000014f8)
freed by thread T0 here:
    #0 0x7f8e1b7577a8 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xde7a8)
    #1 0x7f8e1b4739e2 in mxmlDelete /home/tianmai/mxml-3.2/mxml-node.c:231

previously allocated by thread T0 here:
    #0 0x7f8e1b757d28 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded28)
    #1 0x7f8e1b473664 in mxml_new /home/tianmai/mxml-3.2/mxml-node.c:841

SUMMARY: AddressSanitizer: double-free (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xde7a8) in __interceptor_free
==102826==ABORTING

poc188.zip

@michaelrsweet michaelrsweet added the investigating Investigating the issue label Jul 13, 2023
@michaelrsweet michaelrsweet self-assigned this Jul 13, 2023
@michaelrsweet michaelrsweet added bug Something isn't working priority-low and removed investigating Investigating the issue labels Mar 22, 2024
@michaelrsweet michaelrsweet added this to the Stable milestone Mar 22, 2024
michaelrsweet added a commit that referenced this issue Mar 22, 2024
@michaelrsweet
Copy link
Owner

[master 80fc3ce] Fix double-free bug (Issue #16)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-low
Projects
None yet
Development

No branches or pull requests

2 participants