demangle.cc
69.4 KB
-
`demangle`: Add complexity guard to `ParseQRequiresExpr` · 4ea6e47c
This function copies the parser's state onto the stack in order to perform backtracking. Adding a complexity guard will ensure that it fails gracefully, instead of contributing to excessive consumption of stack space. PiperOrigin-RevId: 606720511 Change-Id: I2f6f03e5f8bc4cc571a4159ecfc2af6f3e00fa68
Dino Radakovic committed