mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Found using UBSan. Full fix would require adding visibility attribute to CUser, CIRCNetwork, CModule, CModuleEntry, CModInfo *and* make sure these attributes are visible to enough code. The second statement is more difficult to fulfill, because forward declaration of CUser is not enough, because the attribute is on class definition. So Modules.h would need to include many other includes. Probably it should be changed at some point. See http://stackoverflow.com/questions/27976687/clangs-ubsan-function-pointer-is-this-illegal