To be fair, it looks like a "get it working" proof of concept, but I certainly wouldn't take that into production :)
> This code has every security flaw you imagine, tons of memory leaks, and when I wrote it I may have been awake for much longer than one should be when writing C.