3 ms·
Go read this section of the transcript[0] [0]: https://99percentinvisible.org/episode/the-roman-mars-mazda-virus/transcript#:~:text=In%20a%20URL%2C%20certain%2
by CSSer 5y ago
Go read this section of the transcript[0]
[0]: https://99percentinvisible.org/episode/the-roman-mars-mazda-virus/transcript#:~:text=In%20a%20URL%2C%20certain%20characters%20are%20allowed%20and%20certain%20characters%20are%20not https://99percentinvisible.org/episode/the-roman-mars-mazda-....
- jmgao 5y agoThat section of the transcript is incorrect, despite being from someone who worked on it. It's obviously a printf bug because it only happens with %n with valid modifiers: https://www.reddit.com/r/gimlet/comments/bdxht4/hey_its_ben_from_the_reply_all_episode_140_i_have/el1lwb2/ https://www.reddit.com/r/gimlet/comments/bdxht4/hey_its_ben_...
- CSSer 5y agoDespite the fact that he confirmed it’s not C code and despite the fact that the failure case has spaces in it which make it invalid? What am I missing here?
- jmgao 5y agoHe's wrong, it is getting parsed in C. glibc happens to allow ' ' as a modifier to %n: https://gcc.godbolt.org/z/zaTnjzEY3 https://gcc.godbolt.org/z/zaTnjzEY3