Note that this segfaults ALL THE TIME in wlc code. Paging @Cloudef for help, I'm at a loss.
Please don't complain to me about the performance of this