Re:CVE-2021-32471 – Input validation in Marvin Minsky 1967 T...
by klyrs on Tuesday May 11, 2021 @01:22PM
(#27120772)
> I assume bf allows constants but like I said I'm not that great a programmer.
Key to being a good programmer: at least read a bit about the language before speculating about it. Not sure what you mean by "allows constants", but you're only given increment and decrement operators, and a promise that fresh tape is zeroed out.
Brainfuck supports iteration. Performing recursion in a higher level language will still look like iteration in Brainfuck.
Re:CVE-2021-32471 – Input validation in Marvin Minsky 1967 T...
by mousepilot on Tuesday May 11, 2021 @02:22PM
(#27121571)
100 percent agree, but honestly I couldn't make sense of the examples I looked at. It was probably just me tho.
Obviously using a recursive descent parser is out but thats probably easy to work around right?
I could be wrong tho so don't base mission critical code on this without rigorous testing!