• 0 Posts
  • 23 Comments
Joined 9 months 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!










  • You’re completely right that people turned a blind eye to what the Nazis were doing for as long as they could. But once shit hit the fan the Holocaust was no null part of why people kept fighting while protecting the jewish people that were unfortunate enough to live in their region. The main goal was liberating themselves from the occupation, but what the Nazis were trying to do just made it so much more important to gain control back from these monsters.

    Having a european perspective on the way this part of history is told I took the following phases away:

    • Allied nations tried their best to avoid confrontation.
    • Nazis attacked and WW2 began.
    • The Allied lost more and more territory.
    • Inside these occupied territories people did the following things:
      • Fight to liberate themselves.
      • Otherwise fight undercover to hide and protect jewish people living in their region.

    So while the main reason was to gain sovereignty back, the Holocaust heavily contributed to people fighting back at all costs. Witnessing such atrocities marked europeans really hard, and teachings of this story try to emphasis the scale of the horrors that the Nazis were inflicting to occupied places. It’s documented, witnesses are still somewhat around to tell what they’ve seen and if not their testimony was properly shared with later generations.

    All that to say that while WW2 was fought over protecting sovereignty, it became more than that once people ended up as the first witnesses of the ongoing genocide.

    Now I have to say that I have no idea what’s a north-american perspective on that matter.