Skip to content

Add test for asan strncpy issue with word overflow - #12905

Closed
jeromelaban wants to merge 1 commit into
emscripten-core:mainfrom
jeromelaban:dev/jela/asan-strncpy
Closed

jeromelaban wants to merge 1 commit into
emscripten-core:mainfrom
jeromelaban:dev/jela/asan-strncpy

Conversation

@jeromelaban

Copy link
Copy Markdown

Adds a test for strncpy validation for read overflow found with asan (see #7279 (comment))

@sbc100

sbc100 commented Nov 28, 2020

Copy link
Copy Markdown
Collaborator

Great thanks!

Can you add @no_asan(<link_to_bug>) to the test so that it wasn't actually cause the asan builders to go red?

@sbc100

sbc100 commented Nov 28, 2020

Copy link
Copy Markdown
Collaborator

Also if you know of a musl change the we can cherry-pick to fix the issue we could land that here too?

@jeromelaban
jeromelaban force-pushed the dev/jela/asan-strncpy branch from 337e72b to 58bf837 Compare November 28, 2020 19:54
@jeromelaban

Copy link
Copy Markdown
Author

Updated.

For what I can see, emscripten uses the latest version of the underlying stpncpy, so it's likely not fixed.

Base automatically changed from master to main March 8, 2021 23:49
@stale

stale Bot commented Apr 16, 2022

Copy link
Copy Markdown

This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 30 days. Feel free to re-open at any time if this issue is still relevant.

@stale stale Bot added the wontfix label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants