Skip to content

Fix crash with malformed arguments (bug 6176).#89

Merged
dvander merged 1 commit intomasterfrom
bug-6176
Jul 13, 2014
Merged

Fix crash with malformed arguments (bug 6176).#89
dvander merged 1 commit intomasterfrom
bug-6176

Conversation

@dvander
Copy link
Member

@dvander dvander commented Jul 12, 2014

There is a place I'm calling declloc() without first checking that it's okay, and it crashes in some malformed code. Simple fix. Unfortunately the error recovery is pretty bad here. Clang and GCC both have one clean error when you forget a comma - spcomp flips out and gives you like 5 errors. Oh well.

@TheDS
Copy link
Member

TheDS commented Jul 13, 2014

🚢

dvander added a commit that referenced this pull request Jul 13, 2014
Fix crash with malformed arguments (bug 6176).
@dvander dvander merged commit 9c6b82f into master Jul 13, 2014
@dvander dvander deleted the bug-6176 branch July 13, 2014 18:26
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

Successfully merging this pull request may close these issues.

2 participants