Re:Format Strings in Rust 1.58
by adwn on Friday January 14, 2022 @07:14AM
(#29933530)
You don't need format strings to create vulnerable queries. If you can't use them, this code:
can easily be replaced by this:
What, are you also going to forbid simple string operations? There will be some user that will use them to create an unsanitized query.
[ Parent
| on HN ]
> You don't need format strings to create vulnerable queries. If you can't use them, this code:
I know, thank you.
> What, are you also going to forbid simple string operations?
Dude, chill. Why do you feel attacked? I'm just stating facts. Those facts are not a critique of you (or of Rust, a language I love).
I'm not feeling "attacked". I'm trying to help you understand that the argument "feature X might be used in a way that could lead to a incorrect behavior" on its own isn't enough to warrant exclusion of that feature, because that same argument can be used against basically all features of a language.