Skip to content

Fail compilation on sources larger than 2GiB - #1607

Merged
dneto0 merged 1 commit into
google:mainfrom
dneto0:len-overflow
Oct 1, 2026
Merged

dneto0 merged 1 commit into
google:mainfrom
dneto0:len-overflow

Conversation

@dneto0

@dneto0 dneto0 commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

Glslang takes the source length as an int. Fail compilation if the string is so large that conversion from the length to int would overflow.

Google-internal bug: 536201886

Glslang takes the source length as an int. Fail compilation
if the string is so large that conversion from the length
to int would overflow.

Google-internal bug: 536201886
@dneto0
dneto0 requested a review from dj2 October 1, 2026 20:32
@dneto0
dneto0 enabled auto-merge (rebase) October 1, 2026 20:32
@dneto0
dneto0 requested a review from alan-baker October 1, 2026 21:26
@dneto0
dneto0 merged commit f6949aa into google:main Oct 1, 2026
25 checks passed
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