News for hackers. Stuff that matters.
Re:Lines of code that changed everything by 0x8BADF00D on Wednesday November 27, 2019 @05:43PM (#21652900)
More generally, it taught us to be careful with string substitution and interpolation.
Re:Lines of code that changed everything by Izkata on Wednesday November 27, 2019 @09:25PM (#21654153)
There's actually (at least) two versions of GP's comment - unsafe code/data, what you appear to be referring to:

  rm -rf $FOO/*
And typos, which is what I first thought of upon reading it:

  rm -rf . /*
Re:Lines of code that changed everything by Analemma_ on Wednesday November 27, 2019 @05:51PM (#21652965)
Well, "us" except Unix and Unix-like developers, where "rm -rf /*" still works like it always did, unless your rm added --no-preserve-root or some similar ugly hack.