• 0 Posts
  • 19 Comments
Joined 11 months ago
cake
Cake day: July 20th, 2023

help-circle




  • The way that rust attempts to prevent this class of error is not by making an implementation of free that is safe to call twice, but by making the compiler refuse to compile programs where free could be called twice on a pointer.

    Anyway, use after free doesn’t depend on a double free. It just means that the program frees memory but keeps the pointer (which now points at memory that could contain unrelated data at some future point in time) and if someone trying to exploit the program finds a way to induce the program to read or write to that memory they may be able to access data they are not expected to, or write data to be used by a different part of the program that they shouldn’t be able to









    1. This is completely besides the point, but I personally view factory farming as different than what happens in nature.

    2. This is also beside the point, but you are making some wild logical leaps here. The fact that I personally don’t want to support factory farming because I think it is cruel in no way means that I think other people “enjoy animal suffering” and assuming that is arbitrarily assigning thoughts I have never had to me.

    3. None of the above is really relevant because I should be allowed to go about my day without justifying my dietary choices just as people that eat meat should.


  • In my experience it’s usually more like: Them: here have some of this meat thing Me: No thanks Them: why not it’s really good try some Me: i don’t eat meat Them: but why? Me: to reduce animal cruelty and environmental harm Them: wow how dare you be so judgy

    I’m not really sure how I’m supposed to not offend this type of person in this situation and frankly I don’t think it’s my fault or my problem they’re offended. My theory is that that agree with my reasons but rather than change or live with the cognitive dissonance they just lash out at anyone that reminds them they could be living more ethically even if they basically MAKE them say it.

    Blaming vegans for that is bullshit, frankly