Closed Bug 742138 Opened 12 years ago Closed 11 years ago

Potential hang in ANGLE's preprocessor token parsing

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jgilbert, Assigned: jgilbert)

References

()

Details

Attachments

(1 file)

Identifiers longer than MAX_SYMBOL_NAME_LEN appear to be able to trigger a hang in ANGLE.
Severity: normal → major
Comment on attachment 612063 [details] [diff] [review]
Loop/break correctly to handle too-large tokens.

I would really like ANGLE devs to review this at http://code.google.com/p/angleproject/issues/detail?id=312
Attachment #612063 - Flags: review?(bjacob)
The behavior of this is allegedly guaranteed by a previous step in the parser, but the code should really be changed to something sane.
Severity: major → minor
The ANGLE parser this bug was filed against was replaced.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: