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

Segfault while parsing preprocessor arguments larger than 128 characters. #27

Closed
xorgy opened this issue Jul 21, 2015 · 2 comments
Closed

Comments

@xorgy
Copy link
Contributor

xorgy commented Jul 21, 2015

For example,

#if 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Crashes glslangValidator with a segmentation fault.

@xorgy xorgy changed the title Segfault while parsing #extension with argument larger than 128 characters. Segfault while parsing preprocessor arguments larger than 128 characters. Jul 21, 2015
@johnkslang
Copy link
Member

For the original title "#extension...", this is fixed, it's a duplicate.

For the current report "#if...", I can't reproduce it, long tokens work correctly. Is it still present for you?

Thanks.

@xorgy
Copy link
Contributor Author

xorgy commented Jul 26, 2015

@johnkslang Looks like this is now also fixed, I think it was a different but related bug to something else you fixed, and it died along with it.

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

2 participants