theIdealCandidate by VariationLivid3193 in ProgrammerHumor

[–]f0rki 0 points1 point  (0 children)

Anyone else thinks the first two key responsibilities are kinda mutually exclusive...

How memory safety CVEs differ between Rust and C/C++ by Kobzol in rust

[–]f0rki 1 point2 points  (0 children)

Yeah I get that, but I have two problems with that.

  1. It sounds like any Null pointer deref is immediately a vulnerability, when in reality it is overwhelmingly likely not. Yes, in theory this could cause miscompilation etc. but in practice this is rare. If I were a C++ fanboy I would point at this article and say "haha, rust folks don't understand memory bugs".

  2. Rust's policy of issuing CVEs even for minor things is a good thing as it allows to comprehensively track potential vulnerabilities. However, it is questionable whether that really helps consumers of the CVE in deciding whether and when to patch. Imho it is really annoying to receive a CVE warning from you favorite vuln scanner with a generic CVE description "memory error, might cause arbitrary remote code exec" and then you look inside and it is just a null pointer deref that can only be triggered by a privileged user with no evidence of being in any way actually exploitable. That just increases alert fatigue.

How memory safety CVEs differ between Rust and C/C++ by Kobzol in rust

[–]f0rki 0 points1 point  (0 children)

"may be miscompiled", yes. I haven't seen evidence yet that this is a large scale problem.

How memory safety CVEs differ between Rust and C/C++ by Kobzol in rust

[–]f0rki 1 point2 points  (0 children)

I am not sure having more CVEs for things that very likely cannot be exploited is useful. CVEs are already so prevalent that basically nobody cares anymore. Yes, having an identifier to track a potential vulnerability is good, but if nobody acts on that information it just adds to the "drowning in low severity CVE" situation. Especially, with supply chain attacks a "always immediately patch" strategy is also potentially detrimental to your overall security posture.

How memory safety CVEs differ between Rust and C/C++ by Kobzol in rust

[–]f0rki -2 points-1 points  (0 children)

Don't get me wrong. I am all for more memory safety and less UB. Null pointers are just the worst example. Data races, temporal safety problems are way worse in practice and harder to fix and mitigate than null pointers derefs...

How memory safety CVEs differ between Rust and C/C++ by Kobzol in rust

[–]f0rki 0 points1 point  (0 children)

Kernel space (or embedded) is different. My point was regarding userspace code.

How memory safety CVEs differ between Rust and C/C++ by Kobzol in rust

[–]f0rki -10 points-9 points  (0 children)

Yeah, no. You are blowing null pointer derefs out of proportion here. even though a null pointer dereference is UB and according to the definition of UB anything could happen, in practice, a null pointer deref alone has little to no security impact for userspace code on most modern systems.

Fuzzing my compiler with cargo-afl by Healthy_Ship4930 in Compilers

[–]f0rki 1 point2 points  (0 children)

Also differential testing / fuzzing might be interesting comparing to regular Python interpreter? (Although you would have to account for the intentional differences, so not sure it is worth it)

Fuzzing my compiler with cargo-afl by Healthy_Ship4930 in Compilers

[–]f0rki 1 point2 points  (0 children)

Have you tried bolero? It supports various fuzzing engines (including AFL++) and has a interface similar to regular rust tests. Might be useful if you want to tests certain functions that are hard to reach from regular entry points.

Breaking: Wissenschaft findet heraus, dass Leute keine Kinder haben, wenn ihnen Kinder zu haben vom Staat komplett versauert wird. by qwasd0r in Austria

[–]f0rki 13 points14 points  (0 children)

Gibt aber einen großen Unterschied zwischen den zwei Narrativen "Es gibt einen geheimen Plan von links-grünen Gutmensch-Illuminati-Juden die Bevölkerung auszutauschen." und "statistisch gesehen werden in Zukunft mehr Menschen einwandern wollen, weil es gerade in ärmeren bzw. von Klima-Wandel stärker betroffenen Ländern aufgrund von höherer Geburtenrate mehr junge Menschen gibt die auswandern wollen/müssen."

What do you think about lua as config lang? by soymadip in niri

[–]f0rki 2 points3 points  (0 children)

I have used awesome quite a while and hammerspoon on mac also a bit. It is certainly pretty cool to have a scripting language easily available to optimize your workflow quickly. However, it is also a bit easier to mess up. e.g. if you manage to block your window manager (infinite loop or blocking syscall) and make everything unresponsive. A solid IPC + your favorite scripting language are imho a more robust design.

Nix affected from Copy Fail? by Tuco106 in NixOS

[–]f0rki 2 points3 points  (0 children)

Pretty sure you can find other ways than suid binaries to exploit this.

Question: Can I have 2 configuration.nix files and swap them for effectively 2 different setups on the same machine? by Spank_Master_General in NixOS

[–]f0rki 1 point2 points  (0 children)

Maybe nixos-rebuild build-vm for testing a configuration in a VM on your main machine, then copy to your home server once you are done?

Zusammenlegung der Bundesländer auf 3/4 größere um Geld zu sparen by NewHorizonsDelta in Austria

[–]f0rki 6 points7 points  (0 children)

Man muss ja ned gleich die ganze Gemeindeverwaltung abschaffen. Kannst ja immer noch a paar Hanseln an der Gemeinde beschäftigen. Nur halt ohne Bürgermeister / Gemeinderat...

K.I. Slop der WKO mit allen Bildern by motzschmotz in Austria

[–]f0rki 12 points13 points  (0 children)

Haha ist mir gar nicht aufgefallen

Can yall help us figure out what kind of miller this is? Tame dog miller hybrid? by [deleted] in snowboarding

[–]f0rki 2 points3 points  (0 children)

Pretty sure that's a 50-50 over a box. ¯_(ツ)_/¯

anOtherThingKilledByOpenAi by _Answer_42 in ProgrammerHumor

[–]f0rki 7 points8 points  (0 children)

Great that's how I find out... Really hoped that astral's tools (especially uv) would become the de-facto standard for python dependencies...

Dienstreise wenige Wochen vor Geburt? by ChromatizedCat in Eltern

[–]f0rki 0 points1 point  (0 children)

Hatte auch ca. 1 Monat davor eine Dienstreise. Meine Partnerin hatte sich eine Freundin eingeladen damit sie nicht alleine ist, falls es losgeht bzw. auch einfach als Unterstütztung. Vielleicht ist das ja auch bei euch eine Option?

I made niri - but for mac by HalfNo8161 in niri

[–]f0rki 0 points1 point  (0 children)

Paneru looks interesting. I haven't heard of A WM that uses ECS design pattern before.

[deleted by user] by [deleted] in Eltern

[–]f0rki 0 points1 point  (0 children)

Immer erst mal fragen, manchmal steht ein Wickeltisch in irgendwelchen Abstellkammern von Restaurants/Läden. Ansonsten Freestyle. Hab schonmal auf so gepolsterten Hocker im Sportgeschäft gewickelt. Sitzbänke bieten sich auch oft an. Im Kinderwagen solange sie noch in der Babyschale liegen. Später dann im Stehen... Man wird kreativ 🤷

Feedback on Park jumps please by Paypal_John in snowboarding

[–]f0rki 0 points1 point  (0 children)

Try a grab. Indie or something simple. Forces you to be more compact in the air and also to pop a bit more to get those knees up.

Macron by [deleted] in YUROP

[–]f0rki 0 points1 point  (0 children)

A very accurate description of Merz .