News for hackers. Stuff that matters.
Re:Another flaw in Signal desktop app leaks chats in plaintext by moefh on Friday May 18, 2018 @01:22PM (#17103198)
Assuming OP was talking about overloading the '=' operator:

  struct A {
    int *p = nullptr;
  
    A& operator=(int i) {
      *p = i;
      return *this;
    }
  };

  int main(void)
  {
    A a;
    a = 1;  /* boom! */
    return 0;
  }

There are no comments on this comment yet.