-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Enable more MSVC warnings for SDL signoff #40777
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
Enable more MSVC warnings for SDL signoff #40777
Conversation
|
Do we also need to do this for the installer CAs? i.e. the vcxproj for aspnetca/iisca and the random other ones under https://github.com/dotnet/aspnetcore/tree/main/src/Installers/Windows |
Good call, yea, I think so. Will do that in a separate PR. |
|
I think we should keep these commits separate FWIW so we can easily separate the SDL warning changes and the IISLib cleanup if needed in the future. |
| if( !m_Buff.Resize( static_cast<SIZE_T>(cbNeeded) ) ) | ||
| { | ||
| hr = E_OUTOFMEMORY; | ||
| goto Finished; |
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.
Wow gotos!
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.
Sometimes it's C code spiffed up in a .cpp file extension. :)
Fix #40525