Skip to content

Fix crash during typo correction in C mode. #22

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

Closed
secure-sw-dev-bot opened this issue Jan 16, 2022 · 1 comment
Closed

Fix crash during typo correction in C mode. #22

secure-sw-dev-bot opened this issue Jan 16, 2022 · 1 comment

Comments

@secure-sw-dev-bot
Copy link

This issue was copied from checkedc/checkedc-clang#22


This fixes a crash in clang that can occur during typo correction in C mode.
I hit this crash while testing out parsing of incorrect bounds declarations on
structure members.

The crashes were fixed in the mainline clang sources for binary operators
with SVN r272587. I've modified the fix to cover conditional operators as well.
The modification is out for code review for the mainline clang sources. I'm
checking in the modified fix ported to the Checked C clang branch now.

@secure-sw-dev-bot
Copy link
Author

Comment from @msftclas:

Hi @dtarditi, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor (David Tarditi). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant