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

libc/fdsan: keep f_tag unchanged #9496

Merged
merged 1 commit into from Jun 9, 2023

Conversation

hujun260
Copy link
Contributor

@hujun260 hujun260 commented Jun 8, 2023

Summary

When the file pointer is reopened, keep f_tag unchanged as fd remains unchanged.
fix issue #9494

Impact

none

Testing

ostest

When the file pointer is reopened, keep f_tag unchanged as fd remains unchanged
fix issue apache#9494

Signed-off-by: hujun5 <hujun5@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 linked an issue Jun 8, 2023 that may be closed by this pull request
@xiaoxiang781216
Copy link
Contributor

@fjpanag please try this patch.

@fjpanag
Copy link
Contributor

fjpanag commented Jun 8, 2023

Just tried it. freopen() seems OK now.

@xiaoxiang781216 xiaoxiang781216 merged commit 02628de into apache:master Jun 9, 2023
26 checks passed
@jerpelea jerpelea added this to To-Add in Release Notes - 12.2.0 Jun 13, 2023
@jerpelea jerpelea moved this from To-Add to In Progress in Release Notes - 12.2.0 Jun 26, 2023
@hujun260 hujun260 deleted the apache_fdsan127 branch August 10, 2023 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

freopen() causes FDSAN error.
3 participants