Last active
March 29, 2016 22:13
-
-
Save AstraLuma/f57a31f94550956d0ef3ec81bad3b9ba to your computer and use it in GitHub Desktop.
Vala double free bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Bytes get_bytes() { | |
| return new Bytes({0,1,2,3}); | |
| } | |
| void double_free() { | |
| string vtxshader = (string)get_bytes(); | |
| string frgshader = (string)get_bytes(); | |
| } | |
| public static int main (string[] args) { | |
| double_free(); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment