Crushing Application

Simple crashing app

class malicious
{
  public:
  int const mem;
  someClass(int arg):mem(arg){}
};

int main()
{
  int arg = 0;
  malicious ob(arg);
  float* xyz;
 *xyz = (float)1;
 return 0;

No comments: