Earlier quoted context omitted.
Probably just getting triggering excessive backtracking on some regex.
Ironic, from the authors of RE2. They know the correct way to implement regexes. Though, when I worked on Google's indexing system, some researchers were having machine learning generate regexes to run on every page in the visible web... and mis-implemented the feature to re-compile the regex to DFA (which re2 effectively lazily converts to NFA via memoization) for every single page load. The speed of the indexing sy…
Including “And. And. And. And. And.” in a Google doc causes it to crash
131–140 of 441 posts
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#132Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#133Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#134Earlier quoted context omitted.
You can say this and express it as a joke but the text reads like poor criticism.
I read it as a joke, but I started with an assumption of good intent.
> Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#135``` TypeError: Cannot read properties of null (reading 'C') at Ccf ( https://docs.google.com/static/document/client/js/157553674-... ) at Bcf ( https://docs.google.com/static/document/client/js/157553674-... ) ``` Has something to do with grammar. The document does not fail when `Show grammar suggestion` is turned off.
does it talk to a grammar check api endpoint or is it done locally? would be funny if it were a remotely exploitable bug in an api endpoint.
famous last words. finding security relevant bugs is often a game of identifying what the original developers might have found to be not "too exciting" or places they were out of their depth and then focusing intense effort on finding their mistakes.
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#136``` TypeError: Cannot read properties of null (reading 'C') at Ccf ( https://docs.google.com/static/document/client/js/157553674-... ) at Bcf ( https://docs.google.com/static/document/client/js/157553674-... ) ``` Has something to do with grammar. The document does not fail when `Show grammar suggestion` is turned off.
I did not expect them to weaponize it, but Skynet does as Skynet does.
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#137Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#138Earlier quoted context omitted.
That's probably a cyber crime in most US states. Edit: You guys have no sense of humor.
try /s at the end of "offending" sentence, most people will look at it more kindly.
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#139Earlier quoted context omitted.
Ironic, from the authors of RE2. They know the correct way to implement regexes. Though, when I worked on Google's indexing system, some researchers were having machine learning generate regexes to run on every page in the visible web... and mis-implemented the feature to re-compile the regex to DFA (which re2 effectively lazily converts to NFA via memoization) for every single page load. The speed of the indexing sy…
Some people might get off on that kind of culture. But this story makes me glad I don’t work there for some reason.
For my part, I once made a bad assumption about how the Google SAX-style parser handled callbacks for zero-length XHTML start-stop tags. I presumed that would get a callback with the end-of-open-tag and start-of-close-tag pointers being equal, at the character after the close of the tag. Instead, the parser called the callback with the start-of-close-tag pointer after the start-of-close-tag pointer. (I had misinterpreted the API as passing pointers to the start and end of enclosed content.) I had test cases for un-closed tags and ... but when my code hit production, the few pages (fewer than 1 in a million) that expressed an empty title as caused my code to try and construct a string with negative length and crashed that portion of the indexing system. I was right to feel very embarrassed for my oversight.
I remember the savage meme so clearly because it was quite out of the norm, and I felt bad for the guys since they were so quick to fix things even when not publicly shamed. (Only the author and reviewer got notified when I left a comment on their code review.)
Re: Including “And. And. And. And. And.” in a Google doc causes it to crash
#140Here's a bug I discovered in MS Word in 2004, which has survived the past 18 years of updates and is even present in the web version: https://1drv.ms/w/s!AgYiBqBjIZZpfkcvO9jnOel9T2o?e=tFA4wp If you join the two lines using a backspace at the start of the second line, the second line turns into gibberish.
Rewritten for clarity (and because I now actually know what's happening): If you look at the XML (change .docx to .zip) in styles.xml you see the declaration of the style "BodyText3": The first line ("paragraph") has its style set to "BodyText3", but also has formatting on that section of text itself, overriding it. Once the lines are joined into one paragraph, the paragraph formatting appears in the second part beca…