commit | cc4c54d39b16469159dac50cbdd8602dc9cb3663 | [log] [tgz] |
---|---|---|
author | Aaron Ballman <aaron@aaronballman.com> | Thu Apr 15 10:45:29 2021 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 16 12:14:20 2021 -0700 |
tree | 7161681f3bbaceefd2cfa51e847f3ac241f9b397 | |
parent | ee7c8ccbf94aa8cd11beb449c1ff0c0f3fd4b5d2 [diff] |
Fix potential infinite loop with malformed attribute syntax Double square bracket attribute arguments can be arbitrarily complex, and the attribute argument parsing logic recovers by skipping tokens. As a fallback recovery mechanism, parse recovery stops before reading a semicolon. This could lead to an infinite loop in the attribute list parsing logic. GitOrigin-RevId: ad2d6bbb1435cef0a048c9aed3dcf9617640f222