venil
Joined 4 years ago
Karma
6
Submissions
4
Member since
May 11
Joined 4 years ago
The first quote is probably in part referring to the second quote. If that is all it is referring to, than there is no safety issue. If there are other similar issues but rkyv chooses to reject valid archives rather than accept invalid ones, then there also is no safety issue. However, that isn't unambiguous, so I can't say for certain that it isn't possible to misuse the library from safe rust.
<file.txt sed 's/some/filter' | other_cmd
on any standard compliantish shell :) (I use zsh, and I know it also works for bash and dash)
This article doesn't make the final step from recursion to loop but you would probably want to if you were doing DP in production.
Edit: Actually the article does make this jump. See the last code snippet before the conclusions section. Note also the second note after the snippet, which explains that the snippet itself uses a larger array than is necessary.