• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: September 27th, 2023

help-circle




  • It’s definitely not Rust’s fault, but it’s kinda Windows’ one and cmd.exe escape logic… It’s really difficult to write logic that will correctly escape any argument given to it, cmd.exe really is a pain to deal with :/

    The Rust security team faced a significant challenge when dealing with cmd.exe’s complexity since they couldn’t find a solution that would correctly escape arguments in all cases.

    As a result, they had to improve the robustness of the escaping code and modify the Command API. If the Command API cannot safely escape an argument while spawning the process, it returns an InvalidInput error.

    “If you implement the escaping yourself or only handle trusted inputs, on Windows you can also use the CommandExt::raw_arg method to bypass the standard library’s escaping logic,” the Rust Security Response WG added.

    I get that in situations where they can’t safely escape a parameter they’ll just stop with an error, which sound as sane as one could go with this!







  • I am never sick when doing roller coasters or reading in a moving car, but I was really nauseous after my first 15-min VR session. I was pretty scared I fucked up buying a Valve Index only to get that much sick playing… But I had a feeling (hope?) that I could get used to it: After about 2 weeks of playing a bit every night I was no longer getting sick at all. I can go until the controllers run out of battery now.

    To me the effort was worth it, but I have a friend that was the opposite and didn’t enjoy experiencing virtual worlds that way…

    My advice: If you ever try it then try to ignore the sickness -as you can get used to it- and focus on how much you enjoy being immersed in virtual worlds.