Skip to content

Instantly share code, notes, and snippets.

@LightningStalker
Created August 25, 2017 21:54
Show Gist options
  • Select an option

  • Save LightningStalker/3ff089ce33489d7e57d505f461c10c04 to your computer and use it in GitHub Desktop.

Select an option

Save LightningStalker/3ff089ce33489d7e57d505f461c10c04 to your computer and use it in GitHub Desktop.
Self-reproducing program
#include <stdio.h>
int main() { char *a,*s,*q; printf(s="int main() { char *a,*s,*q; printf(s=%s%s%s, q=%s%s%s%s,s,q,q,a=%s%s%s%s,q,q,q,a,a,q); return 0; }",q="\"",s,q,q,a="\\",q,q,q,a,a,q); return 0; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment