-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Use snprintf in pal_icushim.c #92452
Conversation
When AddressSanitizer is enabled on macOS, the toolchain deprecates `sprintf`. Switch to `snprintf` for better bounds checking and to help fix the macOS ASAN build.
Tagging subscribers to this area: @dotnet/area-system-globalization Issue DetailsWhen AddressSanitizer is enabled on macOS, the toolchain deprecates
|
@jkoritzinsky could you please fix the error |
@jkoritzinsky does the AddressSanitizer is going to be enabled on .NET8.0 on macOS too? I am asking because we may need to port this to 8.0 release. CC @jkotas |
No, I am not going to enable AddressSanitizer on the 8.0 branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jkoritzinsky!
When AddressSanitizer is enabled on macOS, the toolchain deprecates
sprintf
. Switch tosnprintf
for better bounds checking and to help fix the macOS ASAN build.