> In many functions, for speed reasons, WeeChat does not check if your pointer is correct or not. It’s your job to check you’re giving a valid pointer, otherwise you may see a nice crash report ;)
I almost forgot that Weechat exposes pointers to its data structures in its scripting API. Kind of surprising that it doesn't have more CVEs with that design...
@wasamasa wow, this makes me really glad I'm only using weechat as a slack client and not for IRC
@technomancy I learned this tidbit from the weechat.el author, he ranted about having to deal with pointers in Emacs Lisp. I didn't quite understand what he meant back then, now I do.
@wasamasa "for speed reasons" just ... no.
@wasamasa clearly what's needed here is to build WeeChat using ILE C
(would it even build for ILE C, I wonder...)
We are a cute and loving international community Ｏ(≧▽≦)Ｏ !